gnu: slepc: Update to 3.7.1.
* gnu/packages/maths.scm (slepc): Update to 3.7.1.master
parent
fafd623e49
commit
8787c555d9
|
@ -923,7 +923,7 @@ scientific applications modeled by partial differential equations.")
|
||||||
(define-public slepc
|
(define-public slepc
|
||||||
(package
|
(package
|
||||||
(name "slepc")
|
(name "slepc")
|
||||||
(version "3.6.2")
|
(version "3.7.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -932,7 +932,7 @@ scientific applications modeled by partial differential equations.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1pv5iqz2kc8sj49zsabyz4arnfpana8mjrhq31vzgk16xldk3d1a"))))
|
"1hijlmrvxvfqslnx8yydzw5xqbsn1yy02g32w0hln1z3cgr1c0k7"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python-2)))
|
`(("python" ,python-2)))
|
||||||
|
@ -948,8 +948,7 @@ scientific applications modeled by partial differential equations.")
|
||||||
(assoc-ref %build-inputs "arpack") "/lib"))
|
(assoc-ref %build-inputs "arpack") "/lib"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace
|
(replace 'configure
|
||||||
'configure
|
|
||||||
;; configure is a python script, so we can't run it with bash.
|
;; configure is a python script, so we can't run it with bash.
|
||||||
(lambda* (#:key inputs outputs (configure-flags '())
|
(lambda* (#:key inputs outputs (configure-flags '())
|
||||||
#:allow-other-keys)
|
#:allow-other-keys)
|
||||||
|
@ -961,8 +960,7 @@ scientific applications modeled by partial differential equations.")
|
||||||
(setenv "SLEPC_DIR" (getcwd))
|
(setenv "SLEPC_DIR" (getcwd))
|
||||||
(setenv "PETSC_DIR" (assoc-ref 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
|
|
||||||
;; TODO: SLEPc installs HTML documentation alongside headers in
|
;; TODO: SLEPc installs HTML documentation alongside headers in
|
||||||
;; $out/include. We'd like to move them to share/doc, but delete
|
;; $out/include. We'd like to move them to share/doc, but delete
|
||||||
;; them for now, as they are incomplete and installing the complete
|
;; them for now, as they are incomplete and installing the complete
|
||||||
|
@ -970,8 +968,7 @@ scientific applications modeled by partial differential equations.")
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out")))
|
(let* ((out (assoc-ref outputs "out")))
|
||||||
(for-each delete-file (find-files out "\\.html$")))))
|
(for-each delete-file (find-files out "\\.html$")))))
|
||||||
(add-after
|
(add-after 'install 'clean-install
|
||||||
'install 'clean-install
|
|
||||||
;; Clean up unnecessary build logs from installation.
|
;; Clean up unnecessary build logs from installation.
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
|
Loading…
Reference in New Issue