mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: petsc: Make ‘petscvariables’ reproducible.
This is a followup to 31fe177a97
.
* gnu/packages/maths.scm (petsc)[arguments]: In
‘clean-local-references’, fix typo in ‘MAKE_NP’ and ‘NPMAX’ regexps.
Substitute ‘MAKE_TEST_NP’ and ‘MAKE_LOAD’ as well.
Change-Id: I41b4279a3cdc4b077fab21f0f99273d0d50ed8e1
This commit is contained in:
parent
0b6586a223
commit
8d5d66887e
1 changed files with 4 additions and 2 deletions
|
@ -3589,8 +3589,10 @@ (define-public petsc
|
|||
"Machine characteristics: Linux-x.x.x"))
|
||||
(substitute* (find-files "." "petscvariables")
|
||||
;; Do not expose build machine characteristics, set to defaults.
|
||||
(("MAKE_NP = [:digit:]+") "MAKE_NP = 2")
|
||||
(("NPMAX = [:digit:]+") "NPMAX = 2")))))
|
||||
(("MAKE_NP = [[:digit:]]+") "MAKE_NP = 2")
|
||||
(("MAKE_TEST_NP = [[:digit:]]+") "MAKE_TEST_NP = 2")
|
||||
(("MAKE_LOAD = .*") "MAKE_LOAD = 256.0\n")
|
||||
(("NPMAX = [[:digit:]]+") "NPMAX = 2")))))
|
||||
(add-after 'install 'clean-install
|
||||
;; Try to keep installed files from leaking build directory names.
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue