summary refs log tree commit diff
path: root/gnu/packages/patches/mumps-build-parallelism.patch
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-06-16 07:10:51 -0500
committerEric Bavier <bavier@member.fsf.org>2015-06-29 15:34:36 -0500
commitcec86422b7dfc4a45243545355d3f6ac126ce304 (patch)
treeb3c9466f1322e120704a894142e5b95eec940a18 /gnu/packages/patches/mumps-build-parallelism.patch
parentaa75ad00970fa1fee0fd68d755b13ae7218755d9 (diff)
downloadguix-cec86422b7dfc4a45243545355d3f6ac126ce304.tar.gz
gnu: Add MUMPS.
* gnu/packages/maths.scm (mumps, mumps-metis, mumps-openmpi)
  (mumps-metis-openmpi): New variables.
* gnu/packages/patches/mumps-build-parallelism.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches/mumps-build-parallelism.patch')
-rw-r--r--gnu/packages/patches/mumps-build-parallelism.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/mumps-build-parallelism.patch b/gnu/packages/patches/mumps-build-parallelism.patch
new file mode 100644
index 0000000000..26dd330311
--- /dev/null
+++ b/gnu/packages/patches/mumps-build-parallelism.patch
@@ -0,0 +1,13 @@
+Building sublibraries in parallel can lead to race conditions on the libseq
+and lipord targets.
+
+--- MUMPS_5.0.0/Makefile.orig	2015-06-15 10:08:54.523146562 -0500
++++ MUMPS_5.0.0/Makefile	2015-06-15 10:19:44.074367512 -0500
+@@ -11,6 +11,7 @@
+ 	sexamples dexamples cexamples zexamples \
+ 	mumps_lib requiredobj libseqneeded clean
+ 
++.NOTPARALLEL:
+ alllib:		c z s d
+ all:		cexamples zexamples sexamples dexamples
+