GNU bug report logs - #66262
[PATCH 0/3] Update openfoam and fix bugs

Previous Next

Package: guix-patches;

Reported by: reza <reza <at> housseini.me>

Date: Fri, 29 Sep 2023 09:02:02 UTC

Severity: normal

Tags: patch

Done: reza <reza <at> housseini.me>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: reza <reza <at> housseini.me>
To: 66262 <at> debbugs.gnu.org <66262 <at> debbugs.gnu.org>
Cc: reza <reza <at> housseini.me>
Subject: [bug#66262] [PATCH v4 4/6] gnu: openfoam-org: Improve build clean up.
Date: Wed, 29 Nov 2023 14:29:15 +0000
* gnu/packages/simulation.scm (openfoam-org): Improve build tree cleanup for
package reproducibility.

Change-Id: I59193f16a7d9598a9bc842f1c6091369c47906a8
---
 gnu/packages/simulation.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 75eb070f64..c6041643c8 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -328,7 +328,9 @@ (define-public openfoam-org
                 (delete-file-recursively
                  "platforms/linux64GccDPInt32OptOPENMPI"))
               (for-each delete-file
-                        (find-files "." "\\.o$")) #t))
+                        (find-files "." "\\.o$"))
+              ;; Remove spurious files in src tree
+              (invoke "bash" "-c" "source ./etc/bashrc && wclean all") #t))
           (replace 'check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
-- 
2.41.0





This bug report was last modified 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.