mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-numpy-1: Reduce closure size through custom wrap phase
* gnu/packages/python-xyz.scm (python-numpy-1) [arguments] <phases>: Provide custom 'wrap phase. Change-Id: I111ad7dfd39ada63b97b43d7eeb1eda0ca508db5 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
5dd8476d3d
commit
618155f79d
1 changed files with 10 additions and 1 deletions
|
|
@ -11140,7 +11140,16 @@ include_dirs = ~:*~a/include~%"
|
|||
" and not test_square_values"
|
||||
" and not test_sum"
|
||||
" and not test_switch_owner"
|
||||
" and not test_thread_locality"))))))))
|
||||
" and not test_thread_locality")))))
|
||||
;; See comment for custom python-numpy wrap phase above.
|
||||
(replace 'wrap
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(for-each
|
||||
(lambda (program)
|
||||
(wrap-program program
|
||||
`("GUIX_PYTHONPATH" ":" suffix
|
||||
,(list (site-packages inputs outputs)))))
|
||||
(find-files (in-vicinity #$output "/bin"))))))))
|
||||
(native-inputs
|
||||
(list meson-python
|
||||
pkg-config
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue