summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/simulation.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index de07b68440..a5b661e34d 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -84,6 +84,8 @@
`(("gzip" ,gzip)
("gnuplot" ,gnuplot)
("openmpi" ,openmpi)))
+ (outputs '("debug" ;~60MB
+ "out"))
(arguments
`( ;; Executable files and shared libraries are located in the 'platforms'
;; subdirectory.
@@ -171,6 +173,15 @@
(("lockDir=.*$")
"lockDir=$HOME/.$WM_PROJECT/.wmake\n"))
#t))
+ (add-after 'build 'cleanup
+ ;; Avoid unncessary, voluminous object and dep files.
+ (lambda _
+ (delete-file-recursively
+ "platforms/linux64GccDPInt32Opt/src")
+ (delete-file-recursively
+ "platforms/linux64GccDPInt32OptSYSTEMOPENMPI")
+ (for-each delete-file (find-files "." "\\.o$"))
+ #t))
(replace 'install
(lambda _
;; use 'OpenFOAM-version' convention