Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
29e80e15c061da54b975af32682ec22baf26b764
[simgrid.git] / buildtools / pipol / Experimental.sh
1 #!/bin/bash
2
3 if [ -e ./pipol ] ; then
4         rm -rf ./pipol/$PIPOL_HOST
5         mkdir ./pipol/$PIPOL_HOST
6 else
7         mkdir ./pipol
8         rm -rf ./pipol/$PIPOL_HOST
9         mkdir ./pipol/$PIPOL_HOST
10 fi
11 cd ./pipol/$PIPOL_HOST
12
13 svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet
14 cd simgrid-trunk
15
16 sh ./buildtools/pipol/liste_install.sh
17 sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install
18 SIMGRID_ROOT=`pwd`
19 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib
20 perl ./buildtools/pipol/cmake.pl
21 perl ./buildtools/pipol/ruby.pl
22
23 rm CMakeCache.txt
24
25 #supernovae
26 cmake \
27 -Denable_lua=on \
28 -Denable_ruby=on \
29 -Denable_java=on \
30 -Denable_tracing=on \
31 -Denable_smpi=on \
32 -Denable_supernovae=on \
33 -Denable_compile_optimizations=on \
34 -Denable_compile_warnings=on \
35 -Denable_lib_static=off \
36 -Denable_model-checking=off \
37 -Denable_latency_bound_tracking=off \
38 -Denable_gtnets=off .
39 ctest -D ExperimentalStart
40 ctest -D ExperimentalConfigure
41 ctest -D ExperimentalBuild
42 ctest -D ExperimentalTest
43 ctest -D ExperimentalSubmit
44 make clean
45
46 #MC
47 cmake \
48 -Denable_latency_bound_tracking=on \
49 -Denable_gtnets=on \
50 -Dgtnets_path=./gtnets_install \
51 -Denable_coverage=on \
52 -Denable_model-checking=on \
53 -Denable_compile_optimizations=off \
54 -Denable_supernovae=off .
55 ctest -D ExperimentalStart
56 ctest -D ExperimentalConfigure
57 ctest -D ExperimentalBuild
58 ctest -D ExperimentalTest
59 ctest -D ExperimentalCoverage
60 ctest -D ExperimentalSubmit
61 make clean