guix_mirror_bot pushed a commit to branch hpc-team
in repository guix.
commit e6d1e71b0de518894b06ddaf842a17521e679071
Author: Luca Cirrottola <[email protected]>
AuthorDate: Tue Feb 10 19:11:09 2026 +0100
gnu: openblas: Use cmake build system.
* gnu/packages/maths.scm (openblas)[source]: Update url.
[build-system]: Switch to cmake-build-system.
[arguments]<#:test-target>: Delete.
<#:build-type>: Set.
<#:configure-flags>: Add.
<#:phases>: Restore ’configure.
Merges guix/guix!6178
Change-Id: Ieabb85ad797d70b8894e1f95937dc22af9b34210
Signed-off-by: Cayetano Santos <[email protected]>
Modified-by: Cayetano Santos <[email protected]>
---
gnu/packages/maths.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 16e53fd278..c4a89e1799 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6078,16 +6078,21 @@ parts of it.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/xianyi/OpenBLAS")
+ (url "https://github.com/OpenMathLib/OpenBLAS")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1ifbbk4mg4ykm92i9b09wwbcwpyzlfzn8lhds8f3p7cbcga7q530"))))
- (build-system gnu-build-system)
+ (build-system cmake-build-system)
(arguments
(list
- #:test-target "test"
+ #:build-type "Release"
+ #:configure-flags
+ #~(list "-DBUILD_SHARED_LIBS=ON"
+ "-DBUILD_STATIC_LIBS=OFF"
+ "-DCMAKE_C_FLAGS=-g"
+ "-DCMAKE_Fortran_FLAGS=-g")
;; No default baseline is supplied for powerpc-linux.
#:substitutable? (not (target-ppc32?))
#:make-flags
@@ -6141,7 +6146,6 @@ parts of it.")
;; no configure script
#:phases
#~(modify-phases %standard-phases
- (delete 'configure)
(add-before 'build 'set-extralib
(lambda* (#:key inputs #:allow-other-keys)
;; Get libgfortran found when building in utest.