Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some tests for crosstraffic = 1.
[simgrid.git] / buildtools / pipol / Experimental.sh
old mode 100644 (file)
new mode 100755 (executable)
index 1ec059b..c5cfd88
@@ -13,68 +13,37 @@ cd ./pipol/$PIPOL_HOST
 git clone git://scm.gforge.inria.fr/simgrid/simgrid.git simgrid --quiet
 cd simgrid
 
-if [ x$PIPOL_IMAGE == "xamd64-windows-server-2008-64bits.dd.gz" ] ; then
-       cmake \
-       -G"Unix Makefiles" \
-       -Denable_lua=off \
-       -Denable_tracing=off \
-       -Denable_smpi=off \
-       -Denable_supernovae=off \
-       -Denable_compile_optimizations=off \
-       -Denable_compile_warnings=off \
-       -Denable_lib_static=off \
-       -Denable_model-checking=off \
-       -Denable_latency_bound_tracking=off \
-       -Denable_gtnets=off .
-       ctest -D ExperimentalStart
-       ctest -D ExperimentalConfigure
-       ctest -D ExperimentalBuild
-       ctest -D ExperimentalSubmit
+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
 
-       sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install
-       SIMGRID_ROOT=`pwd`
-       export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib
-       perl ./buildtools/pipol/cmake.pl
-       perl ./buildtools/pipol/ruby.pl
-       
-       #supernovae
-       cmake \
-       -Denable_lua=on \
-       -Denable_ruby=on \
-       -Denable_java=on \
-       -Denable_tracing=on \
-       -Denable_smpi=on \
-       -Denable_supernovae=on \
-       -Denable_compile_optimizations=on \
-       -Denable_compile_warnings=on \
-       -Denable_lib_static=off \
-       -Denable_model-checking=off \
-       -Denable_latency_bound_tracking=off \
-       -Denable_gtnets=off .
-       ctest -D ExperimentalStart
-       ctest -D ExperimentalConfigure
-       ctest -D ExperimentalBuild
-       ctest -D ExperimentalTest
-       ctest -D ExperimentalSubmit
-       make clean
-       
-       #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 \
-       -Denable_supernovae=off .
-       ctest -D ExperimentalStart
-       ctest -D ExperimentalConfigure
-       ctest -D ExperimentalBuild
-       ctest -D ExperimentalTest
-       ctest -D ExperimentalCoverage
-       ctest -D ExperimentalSubmit
-       make clean
-fi
\ No newline at end of file
+#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