Charm++: Ignore compiler warnings while configuring (#1981)

This commit is contained in:
Erik Schnetter 2016-10-11 03:45:01 -04:00 committed by Todd Gamblin
parent ff1108712c
commit f555b8110d
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -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
}