gnu: scalapack: Update to 2.2.2.

* gnu/packages/maths.scm (scalapack): Update to 2.2.2. Use git-fetch.
<source>: Update URL. Remove patch.
<phases>: Update list of failing tests.
* gnu/local.mk: Unregister patch.
* gnu/packages/patches/scalapack-gcc-10-compilation.patch: Delete file.

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Paul Garlick 2025-06-11 13:14:40 +01:00 committed by Andreas Enge
parent c3bb472e21
commit 3e3bc2a6d6
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 12 additions and 5697 deletions

View file

@ -2254,7 +2254,6 @@ dist_patch_DATA = \
%D%/packages/patches/sbcl-lack-fix-tests.patch \ %D%/packages/patches/sbcl-lack-fix-tests.patch \
%D%/packages/patches/sbcl-png-fix-sbcl-compatibility.patch \ %D%/packages/patches/sbcl-png-fix-sbcl-compatibility.patch \
%D%/packages/patches/sbcl-s-sysdeps-bt2.patch \ %D%/packages/patches/sbcl-s-sysdeps-bt2.patch \
%D%/packages/patches/scalapack-gcc-10-compilation.patch \
%D%/packages/patches/scheme48-tests.patch \ %D%/packages/patches/scheme48-tests.patch \
%D%/packages/patches/scilab-better-compiler-detection.patch \ %D%/packages/patches/scilab-better-compiler-detection.patch \
%D%/packages/patches/scilab-tbx_build_help.patch \ %D%/packages/patches/scilab-tbx_build_help.patch \

View file

@ -1300,16 +1300,17 @@ provide LAPACK for someone who does not have access to a Fortran compiler.")
(define-public scalapack (define-public scalapack
(package (package
(name "scalapack") (name "scalapack")
(version "2.1.0") (version "2.2.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "http://www.netlib.org/scalapack/scalapack-" (uri (git-reference
version ".tgz")) (url "https://github.com/Reference-ScaLAPACK/scalapack")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"19i0h9vdc3zsy58r6fy1vs2kz2l7amifkz0cf926j90xz1n23nb1")) "0abs4j9iknd3qiyaj06gh00iyki71c2lzpmyv21ncv7f7vy1ccr8"))))
(patches (search-patches "scalapack-gcc-10-compilation.patch"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("mpi" ,openmpi) `(("mpi" ,openmpi)
@ -1320,13 +1321,12 @@ provide LAPACK for someone who does not have access to a Fortran compiler.")
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(add-before 'check 'mpi-setup (add-before 'check 'mpi-setup
,%openmpi-setup) ,%openmpi-setup)
(add-after 'unpack 'skip-faulty-test (add-after 'unpack 'skip-faulty-tests
(lambda _ (lambda _
;; FIXME: Skip these two tests that fail to complete for ;; FIXME: Skip two tests that fail to complete. See
;; unknown reasons: ;; <https://github.com/amd/scalapack/commit/d3b6248b26f615b118ff4d72a00b3028f59a47f6>.
;; <https://github.com/Reference-ScaLAPACK/scalapack/issues/43>.
(substitute* "TESTING/CMakeLists.txt" (substitute* "TESTING/CMakeLists.txt"
(("^add_test\\(x[sd]hseqr.*" all) (("^add_test\\(x[cz]heevr.*" all)
(string-append "# " all "\n")))))))) (string-append "# " all "\n"))))))))
(home-page "https://www.netlib.org/scalapack/") (home-page "https://www.netlib.org/scalapack/")
(synopsis "Library for scalable numerical linear algebra") (synopsis "Library for scalable numerical linear algebra")

File diff suppressed because it is too large Load diff