[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72877] [PATCH 5/8] gnu: petsc: Make ‘petscvariables’ reproducible.
From: |
Ludovic Courtès |
Subject: |
[bug#72877] [PATCH 5/8] gnu: petsc: Make ‘petscvariables’ reproducible. |
Date: |
Thu, 29 Aug 2024 17:39:38 +0200 |
This is a followup to 31fe177a97bacec643180cc5bcf8805a6cb07481.
* 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
---
gnu/packages/maths.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 7249eb68da..ff1be6d35a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3578,8 +3578,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)
--
2.45.2
- [bug#72877] [PATCH 0/8] Upgrade PETSc, SLEPc, SUNDIALS, and DealII, Ludovic Courtès, 2024/08/29
- [bug#72877] [PATCH 2/8] gnu: python-petsc4py: Update to 3.21.4., Ludovic Courtès, 2024/08/29
- [bug#72877] [PATCH 3/8] gnu: slepc: Update to 3.21.1., Ludovic Courtès, 2024/08/29
- [bug#72877] [PATCH 1/8] gnu: petsc: Update to 3.21.4., Ludovic Courtès, 2024/08/29
- [bug#72877] [PATCH 4/8] gnu: python-slepc4py: Update to 3.21.1., Ludovic Courtès, 2024/08/29
- [bug#72877] [PATCH 7/8] gnu: sundials, sundials-openmpi: Use gexps., Ludovic Courtès, 2024/08/29
- [bug#72877] [PATCH 8/8] gnu: dealii: Update to 9.6.0., Ludovic Courtès, 2024/08/29
- [bug#72877] [PATCH 5/8] gnu: petsc: Make ‘petscvariables’ reproducible.,
Ludovic Courtès <=
- [bug#72877] [PATCH 6/8] gnu: sundials: Upgrade to 7.1.1., Ludovic Courtès, 2024/08/29