X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/73192e6c92f4e28f3bf5455752996e27205fe813..014fb38c9ecb8a27235f32c4cd47de6abe3cb3ef:/buildtools/pipol/Experimental.sh diff --git a/buildtools/pipol/Experimental.sh b/buildtools/pipol/Experimental.sh old mode 100644 new mode 100755 index 1bd1302d4a..c5cfd88d8c --- a/buildtools/pipol/Experimental.sh +++ b/buildtools/pipol/Experimental.sh @@ -1,7 +1,5 @@ #!/bin/bash -SYSTEM=`uname` - if [ -e ./pipol ] ; then rm -rf ./pipol/$PIPOL_HOST mkdir ./pipol/$PIPOL_HOST @@ -12,29 +10,40 @@ else fi cd ./pipol/$PIPOL_HOST -svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet +git clone git://scm.gforge.inria.fr/simgrid/simgrid.git simgrid --quiet +cd simgrid + +perl ./buildtools/pipol/cmake.pl +perl ./buildtools/pipol/ruby.pl -sh ./simgrid-trunk/buildtools/pipol/liste_install.sh -perl ./simgrid-trunk/buildtools/pipol/cmake.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 -cd simgrid-trunk +#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 -#ucontext and pthread -cmake -Denable_lua=on \ --Denable_ruby=on \ --Denable_lib_static=on \ --Denable_model-checking=off \ --Denable_tracing=on \ --Denable_latency_bound_tracking=off \ --Denable_gtnets=off \ --Denable_java=on \ +#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_compile_warnings=off \ --Denable_supernovae=off \ --Denable_smpi=on . +-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 \ No newline at end of file +make clean