mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01: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 @@ (define-public python-velocyto
|
|||
(snippet
|
||||
'(for-each delete-file (find-files "." "\\.c")))))
|
||||
(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
|
||||
(list python-joblib))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue