mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-26 19:11:46 +02:00
gnu: llama-cpp: Fix build flags.
* gnu/packages/machine-learning.scm (llama-cpp)[arguments]<#:configure-flags>: Use new names from the package update. Change-Id: I14095b5a594efbcfc7abfdd50fd2930fa7878394
This commit is contained in:
@@ -568,8 +568,8 @@ Performance is achieved by using the LLVM JIT compiler.")
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list "-DBUILD_SHARED_LIBS=ON"
|
||||
"-DLLAMA_BLAS=ON"
|
||||
"-DLLAMA_BLAS_VENDOR=OpenBLAS"
|
||||
"-DGGML_BLAS=ON"
|
||||
"-DGGML_BLAS_VENDOR=OpenBLAS"
|
||||
(string-append "-DBLAS_INCLUDE_DIRS="
|
||||
#$(this-package-input "openblas")
|
||||
"/include")
|
||||
@@ -577,12 +577,12 @@ Performance is achieved by using the LLVM JIT compiler.")
|
||||
#$(this-package-input "openblas")
|
||||
"/lib/libopenblas.so")
|
||||
|
||||
"-DLLAMA_NATIVE=OFF" ;no '-march=native'
|
||||
"-DLLAMA_FMA=OFF" ;and no '-mfma', etc.
|
||||
"-DLLAMA_AVX2=OFF"
|
||||
"-DLLAMA_AVX512=OFF"
|
||||
"-DLLAMA_AVX512_VBMI=OFF"
|
||||
"-DLLAMA_AVX512_VNNI=OFF")
|
||||
"-DGGML_NATIVE=OFF" ;no '-march=native'
|
||||
"-DGGML_FMA=OFF" ;and no '-mfma', etc.
|
||||
"-DGGML_AVX2=OFF"
|
||||
"-DGGML_AVX512=OFF"
|
||||
"-DGGML_AVX512_VBMI=OFF"
|
||||
"-DGGML_AVX512_VNNI=OFF")
|
||||
|
||||
#:modules '((ice-9 textual-ports)
|
||||
(guix build utils)
|
||||
|
||||
Reference in New Issue
Block a user