From 8d5d66887e825a0cbc40030b4d07b0eee92af573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 29 Aug 2024 15:45:30 +0200 Subject: =?UTF-8?q?gnu:=20petsc:=20Make=20=E2=80=98petscvariables=E2=80=99?= =?UTF-8?q?=20reproducible.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 39c9c18922..dffe7c4ea6 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3589,8 +3589,10 @@ September 2004}") "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) -- cgit v1.2.3