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:
Ricardo Wurmus 2025-02-17 19:48:51 +01:00
parent 2d9e6e6618
commit d19e2971b3
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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