gnu: suitesparse: Update to 5.9.0.

* gnu/packages/maths.scm (suitesparse): Update to 5.9.0.
[arguments]: Use cc-for-target instead of hard-coding gcc.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Felix Gruber 2021-04-01 23:07:18 +02:00 committed by Efraim Flashner
parent 49d40b9e3d
commit bab809cef0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -34,7 +34,7 @@
;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com> ;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com>
;;; Copyright © 2019 Robert Smith <robertsmith@posteo.net> ;;; Copyright © 2019 Robert Smith <robertsmith@posteo.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2020, 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in> ;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz> ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
@ -3910,7 +3910,7 @@ (define-public openspecfun
(define-public suitesparse (define-public suitesparse
(package (package
(name "suitesparse") (name "suitesparse")
(version "5.8.1") (version "5.9.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -3920,7 +3920,7 @@ (define-public suitesparse
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0qjlyfxs8s48rs63c2fzspisgq1kk4bwkgnhmh125hgkdhrq2w1c")) "1zhkix58afw92s7p291prljdm3yi0pjg1kbi3lczdb8rb14jkz5n"))
(patches (search-patches "suitesparse-mongoose-cmake.patch")) (patches (search-patches "suitesparse-mongoose-cmake.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
@ -3930,9 +3930,9 @@ (define-public suitesparse
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ;no "check" target `(#:tests? #f ;no "check" target
#:make-flags #:make-flags
(list "CC=gcc" (list (string-append "CC=" ,(cc-for-target))
"TBB=-ltbb" "TBB=-ltbb"
"MY_METIS_LIB=-lmetis" "MY_METIS_LIB=-lmetis"
;; Flags for cmake (required to build GraphBLAS and Mongoose) ;; Flags for cmake (required to build GraphBLAS and Mongoose)