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 Robert Smith <robertsmith@posteo.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 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
@ -3910,7 +3910,7 @@ (define-public openspecfun
(define-public suitesparse
(package
(name "suitesparse")
(version "5.8.1")
(version "5.9.0")
(source
(origin
(method git-fetch)
@ -3920,7 +3920,7 @@ (define-public suitesparse
(file-name (git-file-name name version))
(sha256
(base32
"0qjlyfxs8s48rs63c2fzspisgq1kk4bwkgnhmh125hgkdhrq2w1c"))
"1zhkix58afw92s7p291prljdm3yi0pjg1kbi3lczdb8rb14jkz5n"))
(patches (search-patches "suitesparse-mongoose-cmake.patch"))
(modules '((guix build utils)))
(snippet
@ -3930,9 +3930,9 @@ (define-public suitesparse
#t))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ;no "check" target
`(#:tests? #f ;no "check" target
#:make-flags
(list "CC=gcc"
(list (string-append "CC=" ,(cc-for-target))
"TBB=-ltbb"
"MY_METIS_LIB=-lmetis"
;; Flags for cmake (required to build GraphBLAS and Mongoose)