mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-velocyto: Set cache directory for Numba.
* gnu/packages/bioinformatics.scm (python-velocyto)[arguments]: Add phase 'set-numba-cache-dir.
This commit is contained in:
parent
8f3dc994bb
commit
05e68f31ba
1 changed files with 7 additions and 0 deletions
|
@ -13519,6 +13519,13 @@ repeated areas between contigs.")
|
||||||
(snippet
|
(snippet
|
||||||
'(for-each delete-file (find-files "." "\\.c")))))
|
'(for-each delete-file (find-files "." "\\.c")))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; Numba needs a writable dir to cache functions.
|
||||||
|
(add-before 'check 'set-numba-cache-dir
|
||||||
|
(lambda _
|
||||||
|
(setenv "NUMBA_CACHE_DIR" "/tmp"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-joblib))
|
(list python-joblib))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue