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
|
||||||
|
|
Reference in a new issue