Skip to content

Commit 2122611

Browse files
committed
New package: llama.cpp-9357
1 parent 6b24c28 commit 2122611

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

srcpkgs/llama.cpp/template

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Template file for 'llama.cpp'
2+
pkgname=llama.cpp
3+
version=9357
4+
revision=1
5+
build_style=cmake
6+
configure_args="-DGGML_NATIVE=OFF -DGGML_VULKAN=ON -DGGML_BLAS=ON
7+
-DGGML_BLAS_VENDOR=OpenBLAS -DGGML_OPENCL=ON -DGGML_RPC=ON -DLLAMA_OPENSSL=ON"
8+
hostmakedepends="nodejs pkg-config shaderc"
9+
makedepends="openssl-devel libgomp-devel openblas-devel ocl-icd-devel OpenCL-Headers
10+
libcurl-devel vulkan-loader-devel SPIRV-Headers libgomp"
11+
checkdepends="python3-Jinja2"
12+
short_desc="LLM inference in C/C++"
13+
maintainer="zenobit <zen@osowoso.org>"
14+
license="MIT"
15+
homepage="https://github.com/ggml-org/llama.cpp"
16+
distfiles="https://github.com/ggml-org/llama.cpp/archive/refs/tags/b${version}.tar.gz"
17+
checksum=5fbac8d2eaff748e67fc7e25b10217e4b295fb2898b1562ad417d33b17734dee
18+
19+
case $ARCH in
20+
aarch64) configure_args+=" -DGGML_CPU_KLEIDIAI=ON" ;;
21+
esac
22+
23+
post_install() {
24+
vlicense LICENSE
25+
}

srcpkgs/llama.cpp/update

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
site="https://github.com/ggml-org/llama.cpp/tags"
2+
pattern='releases/tag/b\K[0-9]+'

0 commit comments

Comments
 (0)