mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: slepc: Update to 3.7.1.
* gnu/packages/maths.scm (slepc): Update to 3.7.1.
This commit is contained in:
parent
fafd623e49
commit
8787c555d9
1 changed files with 5 additions and 8 deletions
|
@ -923,7 +923,7 @@ (define-public petsc-complex-openmpi
|
|||
(define-public slepc
|
||||
(package
|
||||
(name "slepc")
|
||||
(version "3.6.2")
|
||||
(version "3.7.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -932,7 +932,7 @@ (define-public slepc
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1pv5iqz2kc8sj49zsabyz4arnfpana8mjrhq31vzgk16xldk3d1a"))))
|
||||
"1hijlmrvxvfqslnx8yydzw5xqbsn1yy02g32w0hln1z3cgr1c0k7"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("python" ,python-2)))
|
||||
|
@ -948,8 +948,7 @@ (define-public slepc
|
|||
(assoc-ref %build-inputs "arpack") "/lib"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace
|
||||
'configure
|
||||
(replace 'configure
|
||||
;; configure is a python script, so we can't run it with bash.
|
||||
(lambda* (#:key inputs outputs (configure-flags '())
|
||||
#:allow-other-keys)
|
||||
|
@ -961,8 +960,7 @@ (define-public slepc
|
|||
(setenv "SLEPC_DIR" (getcwd))
|
||||
(setenv "PETSC_DIR" (assoc-ref inputs "petsc"))
|
||||
(zero? (apply system* "./configure" flags)))))
|
||||
(add-after
|
||||
'install 'delete-doc
|
||||
(add-after 'install 'delete-doc
|
||||
;; TODO: SLEPc installs HTML documentation alongside headers in
|
||||
;; $out/include. We'd like to move them to share/doc, but delete
|
||||
;; them for now, as they are incomplete and installing the complete
|
||||
|
@ -970,8 +968,7 @@ (define-public slepc
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out")))
|
||||
(for-each delete-file (find-files out "\\.html$")))))
|
||||
(add-after
|
||||
'install 'clean-install
|
||||
(add-after 'install 'clean-install
|
||||
;; Clean up unnecessary build logs from installation.
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
|
Loading…
Reference in a new issue