Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Re-implement the tab.
[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 if [ x$PIPOL_IMAGE == "xamd64-windows-server-2008-64bits-navarro-2011-03-15-122256.dd.gz" ] ; then
17         cmake \
18         -G"Unix Makefiles" \
19         -Denable_lua=off \
20         -Denable_tracing=off \
21         -Denable_smpi=off \
22         -Denable_supernovae=off \
23         -Denable_compile_optimizations=off \
24         -Denable_compile_warnings=off \
25         -Denable_lib_static=off \
26         -Denable_model-checking=off \
27         -Denable_latency_bound_tracking=off \
28         -Denable_gtnets=off .
29         ctest -D ExperimentalStart
30         ctest -D ExperimentalConfigure
31         ctest -D ExperimentalBuild
32         ctest -D ExperimentalSubmit
33 else
34
35         sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install
36         SIMGRID_ROOT=`pwd`
37         export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib
38         perl ./buildtools/pipol/cmake.pl
39         perl ./buildtools/pipol/ruby.pl
40         
41         #supernovae
42         cmake \
43         -Denable_lua=on \
44         -Denable_ruby=on \
45         -Denable_java=on \
46         -Denable_tracing=on \
47         -Denable_smpi=on \
48         -Denable_supernovae=on \
49         -Denable_compile_optimizations=on \
50         -Denable_compile_warnings=on \
51         -Denable_lib_static=off \
52         -Denable_model-checking=off \
53         -Denable_latency_bound_tracking=off \
54         -Denable_gtnets=off .
55         ctest -D ExperimentalStart
56         ctest -D ExperimentalConfigure
57         ctest -D ExperimentalBuild
58         ctest -D ExperimentalTest
59         ctest -D ExperimentalSubmit
60         make clean
61         
62         #MC
63         cmake \
64         -Denable_latency_bound_tracking=on \
65         -Denable_gtnets=on \
66         -Dgtnets_path=./gtnets_install \
67         -Denable_coverage=on \
68         -Denable_model-checking=on \
69         -Denable_compile_optimizations=off \
70         -Denable_auto_install=on \
71         -DCMAKE_INSTALL_PREFIX=./simgrid_install \
72         -Denable_supernovae=off .
73         ctest -D ExperimentalStart
74         ctest -D ExperimentalConfigure
75         ctest -D ExperimentalBuild
76         ctest -D ExperimentalTest
77         ctest -D ExperimentalCoverage
78         ctest -D ExperimentalSubmit
79         make clean
80 fi