File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed
maintain/build/llama.cpp-bin Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ pkgbase = llama.cpp-bin
2+ pkgdesc = LLM inference in C/C++ (precompiled Linux binaries)
3+ pkgver = b5581
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+ provides = llama.cpp
11+ conflicts = llama.cpp
12+ conflicts = llama.cpp-git
13+ source = llama.cpp-b5581.zip::https://github.com/ggerganov/llama.cpp/releases/download/b5581/llama-b5581-bin-ubuntu-x64.zip
14+ sha256sums = fcddc127ec54cfd37f7d375c0dc8e756f03029078e49b662cc23ce80a2394f77
15+
16+ pkgname = llama.cpp-bin
Original file line number Diff line number Diff line change 1+ ["llama .cpp-bin" ]
2+ source = " github"
3+ github = " ggerganov/llama.cpp"
4+ use_latest_release = true
Original file line number Diff line number Diff line change 1+ # Maintainer: envolution
2+ # Contributor: Bastien "neitsab" Traverse <[email protected] >3+ # shellcheck shell=bash disable=SC2034,SC2154
4+
5+ pkgname=llama.cpp-bin
6+ pkgver=b6673
7+ pkgrel=1
8+ pkgdesc=" LLM inference in C/C++ (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)
15+ source=(" ${pkgname% -bin} -${pkgver} .zip" ::" ${url} /releases/download/${pkgver} /llama-${pkgver} -bin-ubuntu-x64.zip"
16+ " README-${pkgver} .md::https://raw.githubusercontent.com/ggml-org/llama.cpp/${pkgver} /README.md" )
17+
18+ sha256sums=(' 60c4418b401267d3786c6fa4ed3c1a1133d63f6f78843bedda6815d10a6f4a14'
19+ ' e59cd4d5cf94fffbe3c8df0883956c2cdfe0652dda46eb41fc49413ee4da694e' )
20+
21+ package () {
22+ install -Dm755 build/bin/{llama,rpc}-* -t " ${pkgdir} /usr/bin/"
23+ install -Dm755 build/bin/lib* -t " ${pkgdir} /usr/lib/"
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:
You can’t perform that action at this time.
0 commit comments