mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: petsc: Update to 3.7.2.
* gnu/packages/maths.scm (petsc): Update to 3.7.2. [arguments]: Adjust scrubbed files.
This commit is contained in:
parent
b730b43770
commit
fafd623e49
1 changed files with 8 additions and 5 deletions
|
@ -797,7 +797,7 @@ (define-public gmsh
|
||||||
(define-public petsc
|
(define-public petsc
|
||||||
(package
|
(package
|
||||||
(name "petsc")
|
(name "petsc")
|
||||||
(version "3.6.2")
|
(version "3.7.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -805,7 +805,7 @@ (define-public petsc
|
||||||
(uri (string-append "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/"
|
(uri (string-append "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/"
|
||||||
"petsc-lite-" version ".tar.gz"))
|
"petsc-lite-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "13h0m5f9xsdpps4lsp59iz2m7zkapwavq2zfkfvs3ab6sndla0l9"))))
|
(base32 "0jfrq6rd4zagw1iimz05m2w91k0jvz3qbik1lk8pqcxw3rvdqk5d"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python-2)
|
`(("python" ,python-2)
|
||||||
|
@ -848,14 +848,15 @@ (define-public petsc
|
||||||
;; Prevent build directory from leaking into compiled code
|
;; Prevent build directory from leaking into compiled code
|
||||||
(((getcwd)) out)
|
(((getcwd)) out)
|
||||||
;; Scrub timestamp for reproducibility
|
;; Scrub timestamp for reproducibility
|
||||||
((".*Libraries compiled on.*") "")))))
|
((".*Libraries compiled on.*") ""))
|
||||||
|
#t)))
|
||||||
(add-after 'install 'clean-install
|
(add-after 'install 'clean-install
|
||||||
;; Try to keep installed files from leaking build directory names.
|
;; Try to keep installed files from leaking build directory names.
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(substitute* (map (lambda (file)
|
(substitute* (map (lambda (file)
|
||||||
(string-append out "/lib/petsc/conf/" file))
|
(string-append out "/lib/petsc/conf/" file))
|
||||||
'("petscvariables" "PETScConfig.cmake"))
|
'("petscvariables"))
|
||||||
(((getcwd)) out))
|
(((getcwd)) out))
|
||||||
;; Make compiler references point to the store
|
;; Make compiler references point to the store
|
||||||
(substitute* (string-append out "/lib/petsc/conf/petscvariables")
|
(substitute* (string-append out "/lib/petsc/conf/petscvariables")
|
||||||
|
@ -868,8 +869,10 @@ (define-public petsc
|
||||||
(delete-file f))))
|
(delete-file f))))
|
||||||
'("configure.log" "make.log" "gmake.log"
|
'("configure.log" "make.log" "gmake.log"
|
||||||
"test.log" "error.log" "RDict.db"
|
"test.log" "error.log" "RDict.db"
|
||||||
|
"PETScBuildInternal.cmake"
|
||||||
;; Once installed, should uninstall with Guix
|
;; Once installed, should uninstall with Guix
|
||||||
"uninstall.py"))))))))
|
"uninstall.py"))
|
||||||
|
#t))))))
|
||||||
(home-page "http://www.mcs.anl.gov/petsc")
|
(home-page "http://www.mcs.anl.gov/petsc")
|
||||||
(synopsis "Library to solve PDEs")
|
(synopsis "Library to solve PDEs")
|
||||||
(description "PETSc, pronounced PET-see (the S is silent), is a suite of
|
(description "PETSc, pronounced PET-see (the S is silent), is a suite of
|
||||||
|
|
Loading…
Reference in a new issue