guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 072b3af41262e676c1a22ce0fc764c0d0006e49e
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jan 29 19:12:53 2026 +0100
gnu: llama-cpp: Switch to pyproject.
* gnu/packages/machine-learning.scm (llama-cpp):
[arguments]<#:imported-modules, #:modules>: Relocate keywords. Switch
to pyproject-build-system.
Change-Id: I0b99e2b4b4beaf9fd085428022ec38b9e25995c3
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/machine-learning.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 5fbdc453a1..248fe29ccd 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -848,15 +848,15 @@ NumPy @code{dtype} extensions used in machine learning
libraries, including:
(build-system cmake-build-system)
(arguments
(list
- #:configure-flags
- #~(list "-DBUILD_SHARED_LIBS=ON"
- "-DLLAMA_USE_SYSTEM_GGML=ON")
+ #:imported-modules (append %cmake-build-system-modules
+ %pyproject-build-system-modules)
#:modules '((ice-9 textual-ports)
(guix build utils)
- ((guix build python-build-system) #:prefix python:)
+ ((guix build pyproject-build-system) #:prefix python:)
(guix build cmake-build-system))
- #:imported-modules `(,@%cmake-build-system-modules
- (guix build python-build-system))
+ #:configure-flags
+ #~(list "-DBUILD_SHARED_LIBS=ON"
+ "-DLLAMA_USE_SYSTEM_GGML=ON")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths