Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a target to sync pipol scripts.
[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 git clone git://scm.gforge.inria.fr/simgrid/simgrid.git simgrid --quiet
14 cd simgrid
15
16 perl ./buildtools/pipol/cmake.pl
17 perl ./buildtools/pipol/ruby.pl
18         
19 sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install
20 SIMGRID_ROOT=`pwd`
21 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib
22
23 #supernovae
24 cmake \
25 -Denable_lua=on \
26 -Denable_tracing=on \
27 -Denable_smpi=on \
28 -Denable_supernovae=on \
29 -Denable_compile_optimizations=on \
30 -Denable_compile_warnings=on \
31 -Denable_lib_static=off \
32 -Denable_model-checking=off \
33 -Denable_latency_bound_tracking=off \
34 -Drelease=on \
35 -Denable_gtnets=off .
36 ctest -D ExperimentalStart
37 ctest -D ExperimentalConfigure
38 ctest -D ExperimentalBuild
39 ctest -D ExperimentalTest
40 ctest -D ExperimentalSubmit
41 make clean
42
43 #MC
44 cmake \
45 -Denable_latency_bound_tracking=on \
46 -Denable_gtnets=on \
47 -Dgtnets_path=./gtnets_install \
48 -Denable_coverage=on \
49 -Denable_model-checking=on \
50 -Denable_compile_optimizations=off \
51 -Denable_auto_install=on \
52 -DCMAKE_INSTALL_PREFIX=./simgrid_install \
53 -Drelease=on \
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