Subject: [PATCH] gnu: lapack: Build CBLAS.
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: Ludovic Courtès <[email-masked]>
Date: Mon, 22 May 2023 14:13:23 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Ludovic Courtès <[email-masked]>

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(+)

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"

base-commit: 7ddc239fc38c2a0d73c997ecff80d6fdd9a594c7
-- 
2.40.1