gnu: slepc: Update to 3.11.1.
* gnu/packages/maths.scm (slepc): Update to 3.11.1. [native-inputs]: Add petsc:examples. [arguments]: Add PETSCCONFIGDIR to #:make-flags.
This commit is contained in:
parent
4f7a4a06c2
commit
a13e0f3db4
|
@ -1914,7 +1914,7 @@ savings are consistently > 5x.")
|
||||||
(define-public slepc
|
(define-public slepc
|
||||||
(package
|
(package
|
||||||
(name "slepc")
|
(name "slepc")
|
||||||
(version "3.10.1")
|
(version "3.11.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -1922,10 +1922,11 @@ savings are consistently > 5x.")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"188j1a133q91h8pivpnzwcf78kz8dvz2nzf6ndnjygdbqb48fizn"))))
|
"1yq84q9wannc8xwapxpay4ypdd675picwi395hhsdvng9q6hf5j8"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python-2)))
|
`(("python" ,python-2)
|
||||||
|
("petsc:examples" ,petsc "examples"))) ;for gmakegen.py script
|
||||||
(inputs
|
(inputs
|
||||||
`(("arpack" ,arpack-ng)
|
`(("arpack" ,arpack-ng)
|
||||||
("gfortran" ,gfortran)))
|
("gfortran" ,gfortran)))
|
||||||
|
@ -1937,7 +1938,10 @@ savings are consistently > 5x.")
|
||||||
`(,(string-append "--with-arpack-dir="
|
`(,(string-append "--with-arpack-dir="
|
||||||
(assoc-ref %build-inputs "arpack") "/lib"))
|
(assoc-ref %build-inputs "arpack") "/lib"))
|
||||||
#:make-flags ;honor (parallel-job-count)
|
#:make-flags ;honor (parallel-job-count)
|
||||||
`(,(format #f "MAKE_NP=~a" (parallel-job-count)))
|
`(,(format #f "MAKE_NP=~a" (parallel-job-count))
|
||||||
|
,(string-append "PETSCCONFIGDIR="
|
||||||
|
(assoc-ref %build-inputs "petsc:examples")
|
||||||
|
"/share/petsc/examples/config"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
|
|
Loading…
Reference in New Issue