This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 84e4ab8c55 gnu: ggml: Set backend directory.
84e4ab8c55 is described below
commit 84e4ab8c55da3630cd6a8428702d23459aa61515
Author: Nigko Yerden <[email protected]>
AuthorDate: Thu Feb 26 23:03:32 2026 +0500
gnu: ggml: Set backend directory.
Without this flag, backends are not installed.
* gnu/packages/machine-learning.scm (ggml)[arguments]<#:configure-flags>:
Add -DGGML_BACKEND_DIR.
Fixes guix/guix#6699.
Merges guix/guix!6724
Change-Id: I73b737aa7c98a47c168caccae25f6de0f27c57ec
Signed-off-by: Cayetano Santos <[email protected]>
---
gnu/packages/machine-learning.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index e640bb65c4..a9e2e07d80 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -227,6 +227,8 @@ representations and sentence classification.")
#~(list #$(string-append "-DGGML_BUILD_NUMBER=" version)
"-DBUILD_SHARED_LIBS_DEFAULT=ON"
"-DGGML_BACKEND_DL=ON"
+ (string-append "-DGGML_BACKEND_DIR="
+ #$output "/lib/backends")
"-DGGML_VULKAN=ON"
"-DGGML_BUILD_TESTS=ON"
"-DGGML_OPENCL=ON"