Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Pipol
[simgrid.git] / buildtools / pipol / Experimental.sh
index bbf4e61..11aa5fd 100644 (file)
@@ -1,7 +1,5 @@
 #!/bin/bash
 
 #!/bin/bash
 
-SYSTEM=`uname`
-
 if [ -e ./pipol ] ; then
        rm -rf ./pipol/$PIPOL_HOST
        mkdir ./pipol/$PIPOL_HOST
 if [ -e ./pipol ] ; then
        rm -rf ./pipol/$PIPOL_HOST
        mkdir ./pipol/$PIPOL_HOST
@@ -13,29 +11,31 @@ fi
 cd ./pipol/$PIPOL_HOST
 
 svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet
 cd ./pipol/$PIPOL_HOST
 
 svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet
+cd simgrid-trunk
 
 
-sh ./simgrid-trunk/buildtools/pipol/liste_install.sh
-perl ./simgrid-trunk/buildtools/pipol/cmake.pl
+sh ./buildtools/pipol/liste_install.sh
+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
 
 
-cd simgrid-trunk
-mkdir tmp_build
-cd tmp_build
+rm CMakeCache.txt
 
 
-#ucontext
-cmake -Denable_lua=on \
+#supernovae
+cmake \
+-Denable_lua=on \
 -Denable_ruby=on \
 -Denable_ruby=on \
--Denable_lib_static=on \
--Denable_graphviz=on \
--Denable_model-checking=off \
+-Denable_java=on \
 -Denable_tracing=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_latency_bound_tracking=off \
--Denable_gtnets=off \
--Denable_java=on \
--Dwith_context=auto \
--Denable_compile_optimizations=off \
--Denable_compile_warnings=off \
--Denable_supernovae=off \
--Denable_smpi=on ..
+-Denable_gtnets=off .
 ctest -D ExperimentalStart
 ctest -D ExperimentalConfigure
 ctest -D ExperimentalBuild
 ctest -D ExperimentalStart
 ctest -D ExperimentalConfigure
 ctest -D ExperimentalBuild
@@ -43,21 +43,19 @@ ctest -D ExperimentalTest
 ctest -D ExperimentalSubmit
 make clean
 
 ctest -D ExperimentalSubmit
 make clean
 
-#pthread
-cmake -Denable_lua=on \
--Denable_ruby=on \
--Denable_lib_static=on \
--Denable_graphviz=on \
--Denable_model-checking=off \
--Denable_tracing=on \
--Denable_latency_bound_tracking=off \
--Denable_gtnets=off \
--Denable_java=on \
--Dwith_context=pthread \
--Denable_smpi=on ..
+#gtnets
+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_supernovae=off .
 ctest -D ExperimentalStart
 ctest -D ExperimentalConfigure
 ctest -D ExperimentalBuild
 ctest -D ExperimentalTest
 ctest -D ExperimentalStart
 ctest -D ExperimentalConfigure
 ctest -D ExperimentalBuild
 ctest -D ExperimentalTest
+ctest -D ExperimentalCoverage
 ctest -D ExperimentalSubmit
 ctest -D ExperimentalSubmit
-make clean
\ No newline at end of file
+make clean