+++ /dev/null
-#!/bin/bash
-
-if [ -e ./pipol ] ; then
- rm -rf ./pipol/$PIPOL_HOST
- mkdir ./pipol/$PIPOL_HOST
-else
- mkdir ./pipol
- rm -rf ./pipol/$PIPOL_HOST
- mkdir ./pipol/$PIPOL_HOST
-fi
-cd ./pipol/$PIPOL_HOST
-
-export GIT_SSL_NO_VERIFY=1
-git clone https://gforge.inria.fr/git/simgrid/simgrid.git
-cd simgrid
-
-perl ./buildtools/pipol/cmake.pl
-perl ./buildtools/pipol/ruby.pl
-
-if [ -e /usr/bin/gcc-4.6 ] ; then
-export CC=gcc-4.6
-export CXX=g++-4.6
-else
-export CC=gcc
-export CXX=g++
-fi
-
-#Those 3 lines is for GTNetS
-#sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install
-#SIMGRID_ROOT=`pwd`
-#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib
-
-#MC
-cmake \
--Denable_latency_bound_tracking=on \
--Denable_gtnets=on \
--Dgtnets_path=./gtnets_install \
--Denable_coverage=on \
--Denable_model-checking=on \
--Denable_compile_optimizations=off \
--Denable_auto_install=on \
--DCMAKE_INSTALL_PREFIX=./simgrid_install \
--Drelease=on .
-ctest -D ExperimentalStart
-ctest -D ExperimentalConfigure
-ctest -D ExperimentalBuild
-ctest -D ExperimentalTest
-ctest -D ExperimentalCoverage
-ctest -D ExperimentalSubmit
-make clean
export GIT_SSL_NO_VERIFY=1
git clone https://gforge.inria.fr/git/simgrid/simgrid.git
cd simgrid
+#git checkout v3_7_x
perl ./buildtools/pipol/cmake.pl
perl ./buildtools/pipol/ruby.pl
export CXX=g++
fi
+mkdir build-def
+cd build-def
+
#DEFAULT CONF
-cmake .
+cmake ..
+ctest -D ExperimentalStart
+ctest -D ExperimentalConfigure
+ctest -D ExperimentalBuild
+ctest -D ExperimentalTest
+ctest -D ExperimentalSubmit
+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_lua=on \
+-Denable_compile_optimizations=off .
ctest -D ExperimentalStart
ctest -D ExperimentalConfigure
ctest -D ExperimentalBuild
ctest -D ExperimentalTest
+ctest -D ExperimentalCoverage
ctest -D ExperimentalSubmit
export SIMGRID_ROOT=`pwd`
export CXX=g++
fi
+mkdir build-def
+cd build-def
+
#DEFAULT CONF
-cmake .
+cmake ..
ctest -D NightlyStart
ctest -D NightlyConfigure
ctest -D NightlyBuild
ctest -D NightlyTest
ctest -D NightlySubmit
-rm -rf ./
+cd ../
+rm -rf ./build-def
# really clean the working directory
git reset --hard master
export SIMGRID_ROOT=`pwd`
export LD_LIBRARY_PATH=`pwd`/lib
-export DYLD_LIBRARY_PATH=`pwd`/lib
+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