mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
⬆️ Bump version to b6055.r.g-1
This commit is contained in:
parent
9d4451eb55
commit
8f4ecc48d3
2 changed files with 11 additions and 10 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = llama.cpp-vulkan
|
||||
pkgdesc = Port of Facebook's LLaMA model in C/C++ (with Vulkan GPU optimizations)
|
||||
pkgver = b6055.r6055.gba42794c9
|
||||
pkgver = b6055.r.g
|
||||
pkgrel = 1
|
||||
url = https://github.com/ggerganov/llama.cpp
|
||||
arch = x86_64
|
||||
|
|
@ -27,7 +27,5 @@ pkgbase = llama.cpp-vulkan
|
|||
conflicts = ggml
|
||||
options = lto
|
||||
options = !debug
|
||||
source = git+https://github.com/ggerganov/llama.cpp
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = llama.cpp-vulkan
|
||||
|
|
|
|||
17
PKGBUILD
17
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=llama.cpp-vulkan
|
||||
_pkgname=${pkgname%%-vulkan}
|
||||
pkgver=b6055.r6055.gba42794c9
|
||||
pkgver=b6055.r.g
|
||||
pkgrel=1
|
||||
pkgdesc="Port of Facebook's LLaMA model in C/C++ (with Vulkan GPU optimizations)"
|
||||
arch=(x86_64 armv7h aarch64)
|
||||
|
|
@ -32,8 +32,13 @@ optdepends=(
|
|||
provides=(${_pkgname})
|
||||
conflicts=(${_pkgname} libggml ggml)
|
||||
options=(lto !debug)
|
||||
source=("git+${url}")
|
||||
sha256sums=('SKIP')
|
||||
source=()
|
||||
sha256sums=()
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"
|
||||
git clone --depth 1 --single-branch --branch master "${url}" "${_pkgname}"
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgname"
|
||||
|
|
@ -41,10 +46,8 @@ pkgver() {
|
|||
local _latest_tag
|
||||
_latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "0")
|
||||
|
||||
# 格式化为:<最新标签>.r<总提交数>.g<短哈希>
|
||||
printf "%s.r%s.g%s" "$_latest_tag" \
|
||||
"$(git rev-list --count HEAD)" \
|
||||
"$(git rev-parse --short HEAD)"
|
||||
# 格式化为:<最新标签>
|
||||
printf "%s.r%s.g%s" "$_latest_tag"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue