Skip to content

Commit d471e7a

Browse files
committed
sync
1 parent 90649d8 commit d471e7a

3 files changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
pkgbase = llama.cpp-vulkan-bin
2+
pkgdesc = LLM inference in C/C++ (with Vulkan GPU optimizations) (precompiled Linux binaries)
3+
pkgver = b6670
4+
pkgrel = 1
5+
url = https://github.com/ggerganov/llama.cpp
6+
arch = x86_64
7+
license = MIT
8+
depends = curl
9+
depends = gcc-libs
10+
depends = vulkan-icd-loader
11+
provides = llama.cpp
12+
provides = libggml
13+
provides = ggml
14+
conflicts = llama.cpp
15+
conflicts = libggml
16+
conflicts = ggml
17+
source = llama.cpp-vulkan-b6670.zip::https://github.com/ggerganov/llama.cpp/releases/download/b6670/llama-b6670-bin-ubuntu-vulkan-x64.zip
18+
source = README-b6670.md::https://raw.githubusercontent.com/ggml-org/llama.cpp/b6670/README.md
19+
sha256sums = f15d2602ea6a83d6e3f0fa876ab26e24fa50945d96144defbade7737b55381eb
20+
sha256sums = e59cd4d5cf94fffbe3c8df0883956c2cdfe0652dda46eb41fc49413ee4da694e
21+
22+
pkgname = llama.cpp-vulkan-bin
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
["llama.cpp-vulkan-bin"]
2+
source = "github"
3+
github = "ggerganov/llama.cpp"
4+
use_latest_release = true
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Maintainer: envolution
2+
# Maintainer: Bastien "neitsab" Traverse <neitsab@archlinux.org>
3+
# shellcheck shell=bash disable=SC2034,SC2154
4+
5+
pkgname=llama.cpp-vulkan-bin
6+
pkgver=b6670
7+
pkgrel=1
8+
pkgdesc="LLM inference in C/C++ (with Vulkan GPU optimizations) (precompiled Linux binaries)"
9+
arch=("x86_64")
10+
url="https://github.com/ggerganov/llama.cpp"
11+
license=('MIT')
12+
provides=("llama.cpp" libggml ggml)
13+
conflicts=("llama.cpp" libggml ggml)
14+
depends=(curl gcc-libs vulkan-icd-loader)
15+
source=("${pkgname%-bin}-${pkgver}.zip"::"${url}/releases/download/${pkgver}/llama-${pkgver}-bin-ubuntu-vulkan-x64.zip"
16+
"README-${pkgver}.md::https://raw.githubusercontent.com/ggml-org/llama.cpp/${pkgver}/README.md")
17+
sha256sums=('f15d2602ea6a83d6e3f0fa876ab26e24fa50945d96144defbade7737b55381eb'
18+
'e59cd4d5cf94fffbe3c8df0883956c2cdfe0652dda46eb41fc49413ee4da694e')
19+
20+
package() {
21+
install -Dm755 build/bin/{llama,rpc}-* -t "${pkgdir}/usr/bin/"
22+
install -Dm755 build/bin/lib* -t "${pkgdir}/usr/lib/"
23+
24+
install -Dm644 "build/bin/LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
25+
install -Dm644 "README-${pkgver}.md" "${pkgdir}/usr/share/doc/$pkgname/README.md"
26+
}
27+
# vim:set ts=2 sw=2 et:

0 commit comments

Comments
 (0)