mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: r-preprocesscore: Disable threading.
Since we use OpenBLAS we cannot use threading. See https://github.com/Bioconductor/bioconductor_docker/issues/22 for details. * gnu/packages/bioconductor.scm (r-preprocesscore)[arguments]: Enable tests; disable threading; add phase 'disable-threading. Change-Id: I6ceeeddfe713ffd7dc2ef65c2a808a2b3d0ea7c1
This commit is contained in:
parent
2d9e6e6618
commit
d19e2971b3
1 changed files with 14 additions and 2 deletions
|
@ -23949,8 +23949,20 @@ generated.")
|
|||
(properties
|
||||
`((upstream-name . "preprocessCore")))
|
||||
(build-system r-build-system)
|
||||
;; Tests fail with: "return code from pthread_create() is 22"
|
||||
(arguments (list #:tests? #false))
|
||||
(arguments
|
||||
(list
|
||||
;; This is necessary because we use OpenBLAS. See
|
||||
;; https://github.com/Bioconductor/bioconductor_docker/issues/22
|
||||
#:configure-flags '(list "--disable-threading")
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-threading
|
||||
(lambda _
|
||||
;; Two problems: This package only checks for flexiblas (not
|
||||
;; openblas) and "R CMD config BLAS_LIBS" does not mention
|
||||
;; openblas.
|
||||
(substitute* "configure"
|
||||
(("^BLAS_LIBS=.*") "BLAS_LIBS=flexiblas\n")))))))
|
||||
(home-page "https://github.com/bmbolstad/preprocessCore")
|
||||
(synopsis "Collection of pre-processing functions")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue