🔖 Bump llama.cpp-vulkan version to b6067-1

This commit is contained in:
Orion 2025-08-02 12:41:54 +00:00
parent 0d3bd3f3db
commit 051c5d1df8
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
pkgbase = llama.cpp-vulkan
pkgdesc = Port of Facebook's LLaMA model in C/C++ (with Vulkan GPU optimizations)
pkgver = 0
pkgver = b6067
pkgrel = 1
url = https://github.com/ggerganov/llama.cpp
arch = x86_64

View file

@ -3,7 +3,7 @@
pkgname=llama.cpp-vulkan
_pkgname=${pkgname%%-vulkan}
pkgver=0
pkgver=b6067
pkgrel=1
pkgdesc="Port of Facebook's LLaMA model in C/C++ (with Vulkan GPU optimizations)"
arch=(x86_64 armv7h aarch64)
@ -37,14 +37,14 @@ sha256sums=()
prepare() {
cd "$srcdir"
git clone --depth 1 --single-branch --branch master "${url}" "${_pkgname}"
git clone --depth 3 --single-branch --branch master "${url}" "${_pkgname}"
}
pkgver() {
cd "$_pkgname"
local _latest_tag
_latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "0")
_latest_tag=$(git describe --tags --abbrev=0)
# 格式化为:<最新标签>
printf "%s" "$_latest_tag"