mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: scalapack: Add phase to fix compilation errors with gcc-14.
* gnu/packages/maths.scm (scalapack)[arguments]: Add phase before configuration. Fixes: guix/guix#1487 Change-Id: If4895539a4a8f20a0a97e1625d2322a3af2178d3
This commit is contained in:
parent
432d9f4df4
commit
6befeb3334
1 changed files with 7 additions and 1 deletions
|
@ -1333,7 +1333,13 @@ provide LAPACK for someone who does not have access to a Fortran compiler.")
|
|||
;; <https://github.com/amd/scalapack/commit/d3b6248b26f615b118ff4d72a00b3028f59a47f6>.
|
||||
(substitute* "TESTING/CMakeLists.txt"
|
||||
(("^add_test\\(x[cz]heevr.*" all)
|
||||
(string-append "# " all "\n"))))))))
|
||||
(string-append "# " all "\n")))))
|
||||
(add-before 'configure 'fix-gcc14-errors
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
(string-append
|
||||
"-g -O2 -DNDEBUG"
|
||||
" -Wno-error=implicit-function-declaration")))))))
|
||||
(home-page "https://www.netlib.org/scalapack/")
|
||||
(synopsis "Library for scalable numerical linear algebra")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue