summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/packages/stat/configure_mpicxx.patch19
-rw-r--r--var/spack/packages/stat/package.py2
2 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/packages/stat/configure_mpicxx.patch b/var/spack/packages/stat/configure_mpicxx.patch
new file mode 100644
index 0000000000..e09056d95c
--- /dev/null
+++ b/var/spack/packages/stat/configure_mpicxx.patch
@@ -0,0 +1,19 @@
+commit 07ab6e565f939c54fff6580fc8463ea61662871a
+Author: Gregory L. Lee <lee218@llnl.gov>
+Date: Tue May 20 14:53:35 2014 -0700
+
+ re-boostrap to update configure
+
+diff --git a/configure b/configure
+index 6c4af7d..30901ea 100755
+--- a/configure
++++ b/configure
+@@ -15529,7 +15529,7 @@ fi
+ done
+ test -n "$MPICC" || MPICC="$CC"
+
+- for ac_prog in mpig++ mpiicpc mpxlC mpixlC
++ for ac_prog in mpig++ mpiCC mpicxx mpiicpc mpxlC mpixlC
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
diff --git a/var/spack/packages/stat/package.py b/var/spack/packages/stat/package.py
index 3585c5465a..9f156d53e7 100644
--- a/var/spack/packages/stat/package.py
+++ b/var/spack/packages/stat/package.py
@@ -14,6 +14,8 @@ class Stat(Package):
depends_on('launchmon')
depends_on('mrnet')
+ patch('configure_mpicxx.patch', when='@2.1.0:')
+
def install(self, spec, prefix):
configure(
"--enable-gui",