From 642778b6ffaf6b8e25d982f99e9efe1f52193122 Mon Sep 17 00:00:00 2001 From: "Gregory L. Lee" Date: Tue, 20 May 2014 15:53:10 -0700 Subject: [PATCH] added patch to STAT to find MPICXX --- .../packages/stat/configure_mpicxx.patch | 19 +++++++++++++++++++ var/spack/packages/stat/package.py | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 var/spack/packages/stat/configure_mpicxx.patch 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 +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",