civodul pushed a commit to branch master
in repository guix.

commit cf468ebd38d2f639a922da720f49e58f914f356e
Author: David Elsing <[email protected]>
AuthorDate: Sun Aug 4 22:15:45 2024 +0000

    gnu: nnpack: Depend on python-peachpy only for x86_64.
    
    * gnu/packages/machine-learning.scm (nnpack)[native-inputs]: Provide
    python-peachpy only when 'target-x86-64?'.
---
 gnu/packages/machine-learning.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 9363b01e71..137f764e9c 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4045,7 +4045,9 @@ and Darknet.")
              pthreadpool
              googletest))
       (native-inputs
-       (list python python-peachpy python-six))
+       `(,python
+         ,@(if (target-x86-64?) (list python-peachpy) '())
+         ,python-six))
       ;; Supported for Linux.
       (supported-systems '("x86_64-linux" "armhf-linux" "aarch64-linux"))
       (license license:bsd-2))))

Reply via email to