summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2024-11-19 20:40:48 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-11-19 20:40:48 +0100
commitfe33375b25d025428f44fe01968e6e1b829b055e (patch)
tree6109c8c04b527e78faf16099fdcfbcdd57120f45 /gnu
parent1951f93799eae591507aa19a187badea85489248 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm16
1 files changed, 8 insertions, 8 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 988fac3b63..6997cbdab8 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -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)