From 94bae22204c21bb3d3a3d7d6c2881dfbef44774d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 29 Jun 2021 11:32:21 +0200 Subject: 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. --- gnu/packages/maths.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 42e85fee6e..3c72061427 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3168,14 +3168,14 @@ implemented in ANSI C, and MPI for communications.") (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 @@ implemented in ANSI C, and MPI for communications.") `(("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 @@ CAT = cat 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 @@ CAT = cat 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 @@ CAT = cat CCS = gcc CCP = mpicc CCD = gcc +FC = gfortran CPPFLAGS =~{ -D~a~} CFLAGS = -O2 -g -fPIC $(CPPFLAGS) $(RPATHFLAGS) CLIBFLAGS = -shared -fPIC -- cgit 1.4.1