guix-patches
[Top][All Lists]
Advanced

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

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


From: reza
Subject: [bug#66262] [PATCH v6 4/6] gnu: openfoam-org: Improve build clean up.
Date: Thu, 30 Nov 2023 08:57:58 +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?

base-commit: cd46757c1a0f886848fbb6828c028dd2a2532767
prerequisite-patch-id: e928ac9ae5a11e33ced4f46fed14ea984b551d0c
prerequisite-patch-id: ff305aca25644db4a2b385cd2a9980df4ca457d5
prerequisite-patch-id: b429416cc65454ac2af04a12b8bc93d7b87fbda8
-- 
2.41.0






reply via email to

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