guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66262] [PATCH v5 4/6] gnu: openfoam-org: Improve build clean up.


From: reza
Subject: [bug#66262] [PATCH v5 4/6] gnu: openfoam-org: Improve build clean up.
Date: Wed, 29 Nov 2023 20:39:40 +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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]