mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
🔖 Bump llama.cpp-vulkan version to b6067-1
This commit is contained in:
parent
0d3bd3f3db
commit
051c5d1df8
2 changed files with 4 additions and 4 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -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
|
||||
|
|
|
|||
6
PKGBUILD
6
PKGBUILD
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue