Changed configure --with-insure option to instrument all of the source files

with Insure++ (with a few exceptions).  Also needed to change tux autotest.
This commit is contained in:
Rob Falgout 2015-02-12 16:08:39 -08:00
parent c1d592b458
commit be7fa445b1
3 changed files with 28 additions and 6 deletions

View File

@ -52,14 +52,24 @@ co=""
test.sh basictest.sh $src_dir -co: $co -mo: $mo
renametest.sh basictest $output_dir/basictest-default
co="--with-insure --enable-debug --with-print-errors"
test.sh basictest.sh $src_dir -co: $co -mo: $mo -ro: $ro -eo: $eo
renametest.sh basictest $output_dir/basictest--with-insure
co="--enable-debug"
test.sh basictest.sh $src_dir -co: $co -mo: $mo -eo: $eo
renametest.sh basictest $output_dir/basictest-debug1
co="--enable-global-partition --with-insure"
RO="-ams -ij -sstruct -struct -fac"
co="--enable-debug --enable-global-partition"
RO="-fac"
test.sh basictest.sh $src_dir -co: $co -mo: $mo -ro: $RO -eo: $eo
renametest.sh basictest $output_dir/basictest--enable-global-partition
renametest.sh basictest $output_dir/basictest-debug2
co="--with-insure --enable-debug --with-print-errors"
MO="test"
test.sh basictest.sh $src_dir -co: $co -mo: $MO -ro: $ro
renametest.sh basictest $output_dir/basictest--with-insure1
co="--with-insure --enable-debug --enable-global-partition"
MO="test"
test.sh basictest.sh $src_dir -co: $co -mo: $MO -ro: $ro
renametest.sh basictest $output_dir/basictest--with-insure2
co="--without-MPI"
test.sh basictest.sh $src_dir -co: $co -mo: $mo

View File

@ -1086,6 +1086,12 @@ then
LINK_CXX="insure"
LDFLAGS=`mpicc -link-info | awk '{$1=""; print}'`
LDFLAGS="$LDFLAGS ${hypre_insure_flags}"
F77="insure"
CC="insure"
CXX="insure"
FFLAGS="`mpicc -link-info | awk '{$1=""; print}'` $FFLAGS"
CFLAGS="`mpicc -link-info | awk '{$1=""; print}'` $CFLAGS"
CXXFLAGS="`mpicc -link-info | awk '{$1=""; print}'` $CXXFLAGS"
fi
dnl *********************************************************************

6
configure vendored
View File

@ -7824,6 +7824,12 @@ then
LINK_CXX="insure"
LDFLAGS=`mpicc -link-info | awk '{$1=""; print}'`
LDFLAGS="$LDFLAGS ${hypre_insure_flags}"
F77="insure"
CC="insure"
CXX="insure"
FFLAGS="`mpicc -link-info | awk '{$1=""; print}'` $FFLAGS"
CFLAGS="`mpicc -link-info | awk '{$1=""; print}'` $CFLAGS"
CXXFLAGS="`mpicc -link-info | awk '{$1=""; print}'` $CXXFLAGS"
fi
{ $as_echo "$as_me:$LINENO: checking for cabs in -lm" >&5