gnu: python-umap-learn: Set NUMBA_CACHE_DIR.
* gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Add phase to set NUMBA_CACHE_DIR.
This commit is contained in:
parent
3a656ea836
commit
a69f2cd076
@ -2750,6 +2750,10 @@ These include a barrier, broadcast, and allreduce.")
|
||||
(list
|
||||
#: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")))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
|
Loading…
Reference in New Issue
Block a user