diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-10-11 03:45:01 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-11 00:45:01 -0700 |
commit | f555b8110df3d2315ba6d26c487e5cc0c9229054 (patch) | |
tree | dda2fd2a84e6b167301d114814413c4523310f01 /var | |
parent | ff1108712c4e6fec27eec1bdba25e4522b9ef776 (diff) | |
download | spack-f555b8110df3d2315ba6d26c487e5cc0c9229054.tar.gz spack-f555b8110df3d2315ba6d26c487e5cc0c9229054.tar.bz2 spack-f555b8110df3d2315ba6d26c487e5cc0c9229054.tar.xz spack-f555b8110df3d2315ba6d26c487e5cc0c9229054.zip |
Charm++: Ignore compiler warnings while configuring (#1981)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/charm/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/charm/strictpass.patch | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/charm/package.py b/var/spack/repos/builtin/packages/charm/package.py index aa247fcc02..1ec53c2138 100644 --- a/var/spack/repos/builtin/packages/charm/package.py +++ b/var/spack/repos/builtin/packages/charm/package.py @@ -48,6 +48,8 @@ class Charm(Package): # Support OpenMPI; see # <https://charm.cs.illinois.edu/redmine/issues/1206> patch("mpi.patch") + # Ignore compiler warnings while configuring + patch("strictpass.patch") # Communication mechanisms (choose exactly one) # TODO: Support Blue Gene/Q PAMI, Cray GNI, Cray shmem, CUDA diff --git a/var/spack/repos/builtin/packages/charm/strictpass.patch b/var/spack/repos/builtin/packages/charm/strictpass.patch new file mode 100644 index 0000000000..44aa4fbd38 --- /dev/null +++ b/var/spack/repos/builtin/packages/charm/strictpass.patch @@ -0,0 +1,16 @@ +--- old/src/scripts/configure ++++ new/src/scripts/configure +@@ -2146,13 +2146,6 @@ + test_result $? "$1" "$2" "$3" + strictpass=$pass + strictfail=$fail +- if test $pass -eq 1 +- then +- if cat out | grep -i "warn" > /dev/null 2>&1 +- then +- strictpass="0" && strictfail="1" +- fi +- fi + cat out >> $charmout + /bin/rm -f out + } |