gnu: slepc: Update to 3.6.2.

* gnu/packages/maths.scm (slepc): Update to 3.6.2.
  [arguments]: Append "/lib" to arpack configure flag.  Use 'inputs'
  rather than '%build-inputs' in 'configure phase.
This commit is contained in:
Eric Bavier 2015-11-19 18:08:03 -06:00
parent 32187d99bb
commit 9cf5245497

View file

@ -625,7 +625,7 @@ (define-public petsc-complex-openmpi
(define-public slepc (define-public slepc
(package (package
(name "slepc") (name "slepc")
(version "3.6.0") (version "3.6.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -633,7 +633,7 @@ (define-public slepc
"filename=slepc-" version ".tar.gz")) "filename=slepc-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1ij8w864spzk4cq2mmkssqyj0mbckkkvxm0wpw9gywy2jgbj07jr")))) "1pv5iqz2kc8sj49zsabyz4arnfpana8mjrhq31vzgk16xldk3d1a"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("python" ,python-2))) `(("python" ,python-2)))
@ -646,7 +646,7 @@ (define-public slepc
`(#:parallel-build? #f ;build is parallel by default `(#:parallel-build? #f ;build is parallel by default
#:configure-flags #:configure-flags
`(,(string-append "--with-arpack-dir=" `(,(string-append "--with-arpack-dir="
(assoc-ref %build-inputs "arpack"))) (assoc-ref %build-inputs "arpack") "/lib"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace (replace
@ -660,7 +660,7 @@ (define-public slepc
(format #t "build directory: ~s~%" (getcwd)) (format #t "build directory: ~s~%" (getcwd))
(format #t "configure flags: ~s~%" flags) (format #t "configure flags: ~s~%" flags)
(setenv "SLEPC_DIR" (getcwd)) (setenv "SLEPC_DIR" (getcwd))
(setenv "PETSC_DIR" (assoc-ref %build-inputs "petsc")) (setenv "PETSC_DIR" (assoc-ref inputs "petsc"))
(zero? (apply system* "./configure" flags))))) (zero? (apply system* "./configure" flags)))))
(add-after (add-after
'install 'delete-doc 'install 'delete-doc