gnu: scotch: Update to 6.1.1.

* gnu/packages/maths.scm (scotch): Update to 6.1.1.
[native-inputs]: Add GFORTRAN.
[arguments]: Set 'FC' in 'Makefile.in'.
(scotch32)[arguments]: Likewise.
(scotch-shared)[arguments]: Likewise.
This commit is contained in:
Ludovic Courtès 2021-06-29 11:32:21 +02:00 committed by Ludovic Courtès
parent 4aa90cb4b3
commit 94bae22204
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3168,14 +3168,14 @@ (define-public superlu-dist
(define-public scotch
(package
(name "scotch")
(version "6.1.0")
(version "6.1.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://gforge.inria.fr/frs/download.php/"
"latestfile/298/scotch_" version ".tar.gz"))
(sha256
(base32 "1184fcv4wa2df8szb5lan6pjh0raarr45pk8ilpvbz23naikzg53"))
(base32 "04dkz24a2g20wq703fnyi4440ac4mwycy9gwrrllljj7zxcjy19r"))
(patches (search-patches "scotch-build-parallelism.patch"
"scotch-integer-declarations.patch"))))
(build-system gnu-build-system)
@ -3183,7 +3183,8 @@ (define-public scotch
`(("zlib" ,zlib)))
(native-inputs
`(("flex" ,flex)
("bison" ,bison)))
("bison" ,bison)
("gfortran" ,gfortran)))
(outputs '("out" "metis"))
(arguments
`(#:make-flags (list (string-append "prefix=" %output))
@ -3208,6 +3209,7 @@ (define-public scotch
CCS = gcc
CCP = mpicc
CCD = gcc
FC = gfortran
CPPFLAGS =~{ -D~a~}
CFLAGS = -O2 -g -fPIC $(CPPFLAGS)
LDFLAGS = -lz -lm -lrt -lpthread
@ -3289,6 +3291,7 @@ (define-public scotch32
CCS = gcc
CCP = mpicc
CCD = gcc
FC = gfortran
CPPFLAGS =~{ -D~a~}
CFLAGS = -O2 -g -fPIC $(CPPFLAGS)
LDFLAGS = -lz -lm -lrt -lpthread
@ -3343,6 +3346,7 @@ (define-public scotch-shared
CCS = gcc
CCP = mpicc
CCD = gcc
FC = gfortran
CPPFLAGS =~{ -D~a~}
CFLAGS = -O2 -g -fPIC $(CPPFLAGS) $(RPATHFLAGS)
CLIBFLAGS = -shared -fPIC