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?'.
This commit is contained in:
David Elsing 2024-08-04 22:15:45 +00:00 committed by Ludovic Courtès
parent e5bf0cfa97
commit cf468ebd38
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -4045,7 +4045,9 @@ (define-public nnpack
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))))