summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory L. Lee <lee218@llnl.gov>2014-05-20 15:53:10 -0700
committerGregory L. Lee <lee218@llnl.gov>2014-05-20 15:53:10 -0700
commit642778b6ffaf6b8e25d982f99e9efe1f52193122 (patch)
tree7f0d3829516aa9c331533cff7432da59f5f07185
parentb32cbd6b133796ca95ebc1f407653a4e3985b832 (diff)
downloadspack-642778b6ffaf6b8e25d982f99e9efe1f52193122.tar.gz
spack-642778b6ffaf6b8e25d982f99e9efe1f52193122.tar.bz2
spack-642778b6ffaf6b8e25d982f99e9efe1f52193122.tar.xz
spack-642778b6ffaf6b8e25d982f99e9efe1f52193122.zip
added patch to STAT to find MPICXX
-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",