diff mbox series

[bug#63642] gnu: lapack: Build CBLAS.

Message ID 3906fab80ca9d548bbf3a4bcc341ce44f8f39391.1684757591.git.ludo@gnu.org
State New
Headers show
Series [bug#63642] gnu: lapack: Build CBLAS. | expand

Commit Message

Ludovic Courtès May 22, 2023, 12:13 p.m. UTC
From: Ludovic Courtès <ludovic.courtes@inria.fr>

This adds libcblas.so, which users typically expect to have.

* gnu/packages/maths.scm (lapack)[arguments]: Pass "-DCBLAS=ON".
---
 gnu/packages/maths.scm | 1 +
 1 file changed, 1 insertion(+)


base-commit: 7ddc239fc38c2a0d73c997ecff80d6fdd9a594c7

Comments

Ludovic Courtès June 9, 2023, 1:09 p.m. UTC | #1
Ludovic Courtès <ludo@gnu.org> skribis:

> From: Ludovic Courtès <ludovic.courtes@inria.fr>
>
> This adds libcblas.so, which users typically expect to have.
>
> * gnu/packages/maths.scm (lapack)[arguments]: Pass "-DCBLAS=ON".

Pushed as dd587a4fefbd8841f609910af36e13aa890781b7.

With <https://qa.guix.gnu.org/issue/63642> Chris and I noticed that the
test suites of qgis and Julia were flaky: they’d often fail, but not
always.

Ludo’.
diff mbox series

Patch

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1b34c6e314..05db8bc0ff 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1028,6 +1028,7 @@  (define-public lapack
     (arguments
      `(#:configure-flags (list
                           "-DBUILD_SHARED_LIBS:BOOL=YES"
+                          "-DCBLAS=ON"
                           "-DLAPACKE=ON"
                           ;; Build the 'LAPACKE_clatms' functions.
                           "-DLAPACKE_WITH_TMG=ON"