Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[jenkins] remove the java-created files on startup
[simgrid.git] / buildtools / jenkins / build.sh
index b75443a..9379aef 100755 (executable)
@@ -1,7 +1,16 @@
 #!/bin/sh
 
+# This script is used by various build projects on Jenkins
+
+# See https://ci.inria.fr/simgrid/job/SimGrid-Multi/configure
+# See https://ci.inria.fr/simgrid/job/Simgrid-Windows/configure
+
 set -e
 
+# Cleanup previous attempts
+rm -rf /tmp/simgrid*tmp
+rm -rf /tmp/surf-java*tmp
+
 # usage: die status message...
 die () {
   local status=${1:-1}
@@ -89,7 +98,7 @@ cmake -G"$GENERATOR"\
   -Denable_mallocators=$(onoff test "$build_mode" != "DynamicAnalysis") \
   -Denable_memcheck=$(onoff test "$build_mode" = "DynamicAnalysis") \
   -Denable_compile_warnings=ON -Denable_smpi=ON -Denable_lib_static=OFF \
-  -Denable_latency_bound_tracking=OFF -Denable_gtnets=OFF -Denable_jedule=OFF \
+  -Denable_latency_bound_tracking=OFF -Denable_jedule=OFF \
   -Denable_tracing=ON -Denable_java=ON
 make -j$NUMBER_OF_PROCESSORS VERBOSE=1