mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
add conflict and improve compile options
This commit is contained in:
parent
d2b9129541
commit
f24eeb40dd
2 changed files with 5 additions and 3 deletions
1
.SRCINFO
1
.SRCINFO
|
|
@ -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
|
||||
|
|
|
|||
7
PKGBUILD
7
PKGBUILD
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue