[mpich2-commits] r6731 - mpich2/trunk

goodell at mcs.anl.gov goodell at mcs.anl.gov
Mon May 24 15:56:20 CDT 2010


Author: goodell
Date: 2010-05-24 15:56:20 -0500 (Mon, 24 May 2010)
New Revision: 6731

Modified:
   mpich2/trunk/configure.in
Log:
add "-DNVALGRIND" to build flags under --enable-fast

Reviewed by buntinas at .

Modified: mpich2/trunk/configure.in
===================================================================
--- mpich2/trunk/configure.in	2010-05-24 20:56:19 UTC (rev 6730)
+++ mpich2/trunk/configure.in	2010-05-24 20:56:20 UTC (rev 6731)
@@ -1231,10 +1231,10 @@
     F90FLAGS="$F90FLAGS -g"
 fi
 if test "$enable_append_ndebug" = "yes" ; then
-    CFLAGS="$CFLAGS -DNDEBUG"
-    CXXFLAGS="$CXXFLAGS -DNDEBUG"
-    FFLAGS="$FFLAGS -DNDEBUG"
-    F90FLAGS="$F90FLAGS -DNDEBUG"
+    CFLAGS="$CFLAGS -DNDEBUG -DNVALGRIND"
+    CXXFLAGS="$CXXFLAGS -DNDEBUG -DNVALGRIND"
+    FFLAGS="$FFLAGS -DNDEBUG -DNVALGRIND"
+    F90FLAGS="$F90FLAGS -DNDEBUG -DNVALGRIND"
 fi
 if test -n "$perform_meminit" ; then
     AC_DEFINE(MPICH_DEBUG_MEMINIT,1,[Define to enable preinitialization of memory used by structures and unions])



More information about the mpich2-commits mailing list