Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "Dlopen privatization should be okay now for TSan."
[simgrid.git] / tools / jenkins / Sanitizers.sh
index 2c0cfa3..8ef320e 100755 (executable)
@@ -33,6 +33,7 @@ elif [ "${SANITIZER}" = "thread" ]
 then
     export TSAN_OPTIONS="memory_limit_mb=1500"
     SANITIZER_OPTIONS="-Denable_address_sanitizer=OFF -Denable_undefined_sanitizer=OFF -Denable_thread_sanitizer=ON"
+    export SMPI_PRIVATIZATION="mmap" # TSAN doesn't play well with dlopen
 elif [ "${SANITIZER}" = "undefined" ]
 then
     export UBSAN_OPTIONS="print_stacktrace=1"
@@ -48,10 +49,10 @@ fi
 for pkg in xsltproc
 do
    if command -v $pkg
-   then 
+   then
       echo "$pkg is installed. Good."
-   else 
-      die "please install $pkg before proceeding" 
+   else
+      die "please install $pkg before proceeding"
    fi
 done