1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

maths: openblas: Enable OpenMP support.

* gnu/packages/maths.scm (openblas): Enable OpenMP support.

Change-Id: I72b8badb6d1d627854717ddcbdceab8302114eaf
This commit is contained in:
Romain GARBAGE
2026-01-20 15:02:06 +01:00
committed by Andreas Enge
parent 9e17346b66
commit 3656139f7e

View File

@@ -6109,6 +6109,13 @@ parts of it.")
;; obviously wrong.
"NUM_THREADS=128"
;; OpenMP support prevents deadlocks when multithreaded Openblas
;; is called from an OpenMP parallel region and takes care of
;; deactivating threads when necessary. See
;; http://www.openmathlib.org/OpenBLAS/docs/faq/#using-openblas-with-openmp
;; for more details.
"USE_OPENMP=1"
;; DYNAMIC_ARCH is only supported on some architectures.
;; DYNAMIC_ARCH combined with TARGET=GENERIC provides a library
;; which uses the optimizations for the detected CPU. This can