mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
upgpkg: llama.cpp-hip b4600-1
Upstream Release: llama.cpp-hip b4600 Signed-off-by: txtsd <code@ihavea.quest>
This commit is contained in:
parent
ea2623d660
commit
2d6ab0c4eb
1 changed files with 5 additions and 5 deletions
10
PKGBUILD
10
PKGBUILD
|
|
@ -31,7 +31,7 @@ makedepends=(
|
|||
)
|
||||
provides=(${_pkgname})
|
||||
conflicts=(${_pkgname})
|
||||
options=(lto)
|
||||
options+=(lto)
|
||||
source=(
|
||||
"git+${url}#tag=${pkgver}"
|
||||
"git+https://github.com/nomic-ai/kompute.git"
|
||||
|
|
@ -61,13 +61,13 @@ build() {
|
|||
-DCMAKE_INSTALL_PREFIX='/usr'
|
||||
-DGGML_ALL_WARNINGS=OFF
|
||||
-DGGML_ALL_WARNINGS_3RD_PARTY=OFF
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DGGML_STATIC=ON
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DGGML_STATIC=OFF
|
||||
-DGGML_LTO=ON
|
||||
-DGGML_RPC=ON
|
||||
-DLLAMA_CURL=ON
|
||||
-DGGML_BLAS=ON
|
||||
-DGGML_HIPBLAS=ON
|
||||
-DGGML_HIP=ON
|
||||
-Wno-dev
|
||||
)
|
||||
cmake "${_cmake_options[@]}"
|
||||
|
|
@ -77,7 +77,7 @@ build() {
|
|||
package() {
|
||||
DESTDIR="${pkgdir}" cmake --install build
|
||||
rm "${pkgdir}/usr/include/"ggml*
|
||||
rm "${pkgdir}/usr/lib/"lib*.a
|
||||
# rm "${pkgdir}/usr/lib/"lib*.a
|
||||
|
||||
install -Dm644 "${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue