Browse Source

disable spinlock check in simgrid mode, simgrid does not support errorcheck mutexes

Samuel Thibault 13 years ago
parent
commit
b24c3ac357
1 changed files with 3 additions and 1 deletions
  1. 3 1
      configure.ac

+ 3 - 1
configure.ac

@@ -847,7 +847,9 @@ AC_MSG_RESULT($enable_debug)
 
 if test x$enable_debug = xyes; then
 	CFLAGS="$CFLAGS -O0"
-	AC_DEFINE(STARPU_SPINLOCK_CHECK, [1], [check spinlock use])
+	if test x$enable_simgrid != xyes; then
+		AC_DEFINE(STARPU_SPINLOCK_CHECK, [1], [check spinlock use])
+	fi
 else
 	CFLAGS="-O3 $CFLAGS"
 fi