mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 02:19:18 -05:00
gnu: python-bbknn: Set NUMBA_CACHE_DIR.
* gnu/packages/bioinformatics.scm (python-bbknn)[arguments]: Add phase 'set-numba-cache-dir.
This commit is contained in:
parent
9b1a2dcd5b
commit
dc3ad40c6b
1 changed files with 4 additions and 0 deletions
|
@ -11857,6 +11857,10 @@ (define-public python-bbknn
|
|||
`(#:tests? #f ; no tests are included
|
||||
#: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")))
|
||||
(add-after 'unpack 'do-not-fail-to-find-sklearn
|
||||
(lambda _
|
||||
;; XXX: I have no idea why it cannot seem to find sklearn.
|
||||
|
|
Loading…
Reference in a new issue