Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Always checkout simgrid with git:// and not https://
[simgrid.git] / buildtools / pipol / Nightly_simgrid.sh
index 1e147a7..482d99a 100755 (executable)
 #MacOS Snow Leopard 10.6____________________________________________________________________________
 #PIPOL esn x86_mac-mac-osx-server-snow-leopard-navarro-2011-09-22-113726.dd.gz none 02:00 --user --silent
 
-#___________________________________________________________________________________________________
-#windows-server-2008-64bits_________________________________________________________________________
-#PIPOL esn amd64-windows-server-2008-64bits.dd.gz none 02:00 --root --user --silent
-
 if [ -e ./pipol ] ; then
         rm -rf ./pipol/$PIPOL_HOST
         mkdir ./pipol/$PIPOL_HOST
@@ -58,8 +54,10 @@ else
 fi
 cd ./pipol/$PIPOL_HOST
 
-git clone git://scm.gforge.inria.fr/simgrid/simgrid.git simgrid --quiet
+export GIT_SSL_NO_VERIFY=1
+git clone git://scm.gforge.inria.fr/simgrid/simgrid.git
 cd simgrid
+#git checkout v3_7_x
 
 perl ./buildtools/pipol/cmake.pl
 perl ./buildtools/pipol/ruby.pl
@@ -72,22 +70,29 @@ export CC=gcc
 export CXX=g++
 fi
 
-#supernovae DEFAULT CONF
-cmake -Drelease=on .
+mkdir build-def
+cd build-def
+
+#DEFAULT CONF
+cmake ..
 ctest -D NightlyStart
 ctest -D NightlyConfigure
 ctest -D NightlyBuild
 ctest -D NightlyTest
 ctest -D NightlySubmit
-make clean
+cd ../
+rm -rf ./build-def
+
+# really clean the working directory
+git reset --hard master
+git clean -dfx
 
 #MC
 cmake \
 -Denable_coverage=on \
 -Denable_model-checking=on \
--Denable_compile_optimizations=off \
--Drelease=on \
--Denable_supernovae=off .
+-Denable_lua=on \
+-Denable_compile_optimizations=off .
 ctest -D NightlyStart
 ctest -D NightlyConfigure
 ctest -D NightlyBuild
@@ -97,12 +102,13 @@ ctest -D NightlySubmit
 
 export SIMGRID_ROOT=`pwd`
 export LD_LIBRARY_PATH=`pwd`/lib
-export DYLD_LIBRARY_PATH=`pwd`/lib              
-cd ../
+export DYLD_LIBRARY_PATH=`pwd`/lib #for mac
+cd ..
+
 git clone git://scm.gforge.inria.fr/simgrid/simgrid-java.git simgrid-java --quiet
 cd simgrid-java
 export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/lib
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib #for mac
 
 cmake .
 ctest -D NightlyStart