Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions srcpkgs/llama.cpp/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Template file for 'llama.cpp'
pkgname=llama.cpp
version=9357
revision=1
build_style=cmake
configure_args="-DGGML_NATIVE=OFF -DGGML_VULKAN=ON -DGGML_BLAS=ON
-DGGML_BLAS_VENDOR=OpenBLAS -DGGML_OPENCL=ON -DGGML_RPC=ON -DLLAMA_OPENSSL=ON"
hostmakedepends="nodejs pkg-config shaderc"
makedepends="openssl-devel libgomp-devel openblas-devel ocl-icd-devel OpenCL-Headers
libcurl-devel vulkan-loader-devel SPIRV-Headers libgomp"
checkdepends="python3-Jinja2"
short_desc="LLM inference in C/C++"
maintainer="zenobit <zen@osowoso.org>"
license="MIT"
homepage="https://github.com/ggml-org/llama.cpp"
distfiles="https://github.com/ggml-org/llama.cpp/archive/refs/tags/b${version}.tar.gz"
checksum=5fbac8d2eaff748e67fc7e25b10217e4b295fb2898b1562ad417d33b17734dee

case $ARCH in
aarch64) configure_args+=" -DGGML_CPU_KLEIDIAI=ON" ;;
esac

post_install() {
vlicense LICENSE
}
2 changes: 2 additions & 0 deletions srcpkgs/llama.cpp/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
site="https://github.com/ggml-org/llama.cpp/tags"
pattern='releases/tag/b\K[0-9]+'
Loading