mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-03 18:09:18 -05:00
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:
parent
4aa90cb4b3
commit
94bae22204
1 changed files with 7 additions and 3 deletions
|
@ -3168,14 +3168,14 @@ (define-public superlu-dist
|
||||||
(define-public scotch
|
(define-public scotch
|
||||||
(package
|
(package
|
||||||
(name "scotch")
|
(name "scotch")
|
||||||
(version "6.1.0")
|
(version "6.1.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://gforge.inria.fr/frs/download.php/"
|
(uri (string-append "https://gforge.inria.fr/frs/download.php/"
|
||||||
"latestfile/298/scotch_" version ".tar.gz"))
|
"latestfile/298/scotch_" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1184fcv4wa2df8szb5lan6pjh0raarr45pk8ilpvbz23naikzg53"))
|
(base32 "04dkz24a2g20wq703fnyi4440ac4mwycy9gwrrllljj7zxcjy19r"))
|
||||||
(patches (search-patches "scotch-build-parallelism.patch"
|
(patches (search-patches "scotch-build-parallelism.patch"
|
||||||
"scotch-integer-declarations.patch"))))
|
"scotch-integer-declarations.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
@ -3183,7 +3183,8 @@ (define-public scotch
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("flex" ,flex)
|
`(("flex" ,flex)
|
||||||
("bison" ,bison)))
|
("bison" ,bison)
|
||||||
|
("gfortran" ,gfortran)))
|
||||||
(outputs '("out" "metis"))
|
(outputs '("out" "metis"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list (string-append "prefix=" %output))
|
`(#:make-flags (list (string-append "prefix=" %output))
|
||||||
|
@ -3208,6 +3209,7 @@ (define-public scotch
|
||||||
CCS = gcc
|
CCS = gcc
|
||||||
CCP = mpicc
|
CCP = mpicc
|
||||||
CCD = gcc
|
CCD = gcc
|
||||||
|
FC = gfortran
|
||||||
CPPFLAGS =~{ -D~a~}
|
CPPFLAGS =~{ -D~a~}
|
||||||
CFLAGS = -O2 -g -fPIC $(CPPFLAGS)
|
CFLAGS = -O2 -g -fPIC $(CPPFLAGS)
|
||||||
LDFLAGS = -lz -lm -lrt -lpthread
|
LDFLAGS = -lz -lm -lrt -lpthread
|
||||||
|
@ -3289,6 +3291,7 @@ (define-public scotch32
|
||||||
CCS = gcc
|
CCS = gcc
|
||||||
CCP = mpicc
|
CCP = mpicc
|
||||||
CCD = gcc
|
CCD = gcc
|
||||||
|
FC = gfortran
|
||||||
CPPFLAGS =~{ -D~a~}
|
CPPFLAGS =~{ -D~a~}
|
||||||
CFLAGS = -O2 -g -fPIC $(CPPFLAGS)
|
CFLAGS = -O2 -g -fPIC $(CPPFLAGS)
|
||||||
LDFLAGS = -lz -lm -lrt -lpthread
|
LDFLAGS = -lz -lm -lrt -lpthread
|
||||||
|
@ -3343,6 +3346,7 @@ (define-public scotch-shared
|
||||||
CCS = gcc
|
CCS = gcc
|
||||||
CCP = mpicc
|
CCP = mpicc
|
||||||
CCD = gcc
|
CCD = gcc
|
||||||
|
FC = gfortran
|
||||||
CPPFLAGS =~{ -D~a~}
|
CPPFLAGS =~{ -D~a~}
|
||||||
CFLAGS = -O2 -g -fPIC $(CPPFLAGS) $(RPATHFLAGS)
|
CFLAGS = -O2 -g -fPIC $(CPPFLAGS) $(RPATHFLAGS)
|
||||||
CLIBFLAGS = -shared -fPIC
|
CLIBFLAGS = -shared -fPIC
|
||||||
|
|
Loading…
Reference in a new issue