add conflict and improve compile options

This commit is contained in:
Orion 2025-07-31 09:44:24 +08:00
parent d2b9129541
commit f24eeb40dd
2 changed files with 5 additions and 3 deletions

View file

@ -23,6 +23,7 @@ pkgbase = ik-llama.cpp
conflicts = llama.cpp-vulkan
conflicts = llama.cpp-cuda
conflicts = llama.cpp-hip
conflicts = ik-llama.cpp-cuda
options = lto
options = !debug
source = git+https://github.com/ikawrakow/ik_llama.cpp

View file

@ -2,7 +2,7 @@
pkgname=ik-llama.cpp
_pkgname=ik_llama.cpp
pkgver=1.0
pkgver=r3826.ae0ba31f
pkgrel=1
pkgdesc="llama.cpp fork with additional SOTA quants and improved performance (OpenBLAS Backend)"
arch=(x86_64 armv7h aarch64)
@ -28,6 +28,7 @@ conflicts=(
llama.cpp-vulkan
llama.cpp-cuda
llama.cpp-hip
ik-llama.cpp-cuda
)
provides=(llama.cpp)
@ -56,9 +57,9 @@ build() {
-DGGML_BUILD_TESTS=OFF
-DGGML_BLAS=ON
-DGGML_BLAS_VENDOR=OpenBLAS
-DGGML_CCACHE=OFF
-DGGML_LTO=ON
-DGGML_RPC=ON
-DGGML_NATEVE=ON
-Wno-dev
)
cmake "${_cmake_options[@]}"
@ -67,4 +68,4 @@ build() {
package() {
DESTDIR="${pkgdir}" cmake --install build
}
}