This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch hpc-team
in repository guix.
The following commit(s) were added to refs/heads/hpc-team by this push:
new 6025d17b22 gnu: openblas: Use cmake build system.
6025d17b22 is described below
commit 6025d17b22be5a0a3f17b550b539e0d054f3998f
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 eb4d706c18..8fb4882f09 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6043,16 +6043,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
@@ -6106,7 +6111,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.