Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New way to install gtnets.
[simgrid.git] / buildtools / pipol / Experimental_all_simgrid_gt.sh
1 #!/bin/bash
2
3 SYSTEM=`uname`
4
5 if [ -e ./pipol ] ; then
6         rm -rf ./pipol/$PIPOL_HOST
7         mkdir ./pipol/$PIPOL_HOST
8 else
9         mkdir ./pipol
10         rm -rf ./pipol/$PIPOL_HOST
11         mkdir ./pipol/$PIPOL_HOST
12 fi
13 cd ./pipol/$PIPOL_HOST
14
15 svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet
16
17 sh ./simgrid-trunk/buildtools/pipol/liste_install.sh
18 perl ./simgrid-trunk/buildtools/pipol/cmake.pl
19
20 cd simgrid-trunk
21
22 rm CMakeCache.txt
23
24 #ucontext and pthread
25 cmake -Denable_lua=on \
26 -Denable_ruby=on \
27 -Denable_lib_static=on \
28 -Denable_model-checking=off \
29 -Denable_tracing=on \
30 -Denable_latency_bound_tracking=off \
31 -Denable_gtnets=off \
32 -Denable_java=on \
33 -Denable_compile_optimizations=off \
34 -Denable_compile_warnings=off \
35 -Denable_supernovae=off \
36 -Denable_smpi=on .
37 ctest -D ExperimentalStart
38 ctest -D ExperimentalConfigure
39 ctest -D ExperimentalBuild
40 ctest -D ExperimentalTest
41 ctest -D ExperimentalSubmit
42 make clean
43
44 #supernovae
45 cmake -Denable_lua=on \
46 -Denable_ruby=on \
47 -Denable_lib_static=on \
48 -Denable_model-checking=off \
49 -Denable_tracing=on \
50 -Denable_latency_bound_tracking=on \
51 -Denable_gtnets=off \
52 -Denable_java=on \
53 -Denable_compile_optimizations=off \
54 -Denable_compile_warnings=off \
55 -Denable_supernovae=on \
56 -Denable_smpi=on .
57 ctest -D ExperimentalStart
58 ctest -D ExperimentalConfigure
59 ctest -D ExperimentalBuild
60 ctest -D ExperimentalTest
61 ctest -D ExperimentalSubmit
62 make clean
63
64 #model checking
65 cmake -Denable_lua=on \
66 -Denable_ruby=on \
67 -Denable_lib_static=on \
68 -Denable_model-checking=on \
69 -Denable_tracing=on \
70 -Denable_latency_bound_tracking=on \
71 -Denable_gtnets=off \
72 -Denable_java=on \
73 -Denable_compile_optimizations=off \
74 -Denable_compile_warnings=off \
75 -Denable_supernovae=off \
76 -Denable_coverage=on \
77 -Denable_smpi=on .
78 ctest -D ExperimentalStart
79 ctest -D ExperimentalConfigure
80 ctest -D ExperimentalBuild
81 ctest -D ExperimentalTest
82 ctest -D ExperimentalCoverage
83 ctest -D ExperimentalSubmit
84 make clean
85
86 if [ $SYSTEM = Linux ] ; then
87
88 sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install/
89         
90         if [ -e ./gtnets_install/lib/libgtsim-opt.so ] ; then
91                 #gtnets
92                 cmake -Denable_lua=on \
93                 -Denable_ruby=on \
94                 -Denable_lib_static=on \
95                 -Denable_model-checking=off \
96                 -Denable_tracing=on \
97                 -Denable_latency_bound_tracking=on \
98                 -Denable_gtnets=on \
99                 -Dgtnets_path=./gtnets_install/ \
100                 -Denable_java=on \
101                 -Denable_coverage=off \
102                 -Denable_smpi=on .
103                 ctest -D ExperimentalStart
104                 ctest -D ExperimentalConfigure
105                 ctest -D ExperimentalBuild
106                 ctest -D ExperimentalTest
107                 ctest -D ExperimentalSubmit
108                 make clean
109         fi
110         
111         #full_flags
112         cmake -Denable_lua=on \
113         -Denable_ruby=on \
114         -Denable_lib_static=on \
115         -Denable_model-checking=off \
116         -Denable_tracing=on \
117         -Denable_latency_bound_tracking=on \
118         -Denable_gtnets=off \
119         -Denable_java=on \
120         -Denable_compile_optimizations=on \
121         -Denable_compile_warnings=on \
122         -Denable_smpi=on .
123         ctest -D ExperimentalStart
124         ctest -D ExperimentalConfigure
125         ctest -D ExperimentalBuild
126         ctest -D ExperimentalTest
127         ctest -D ExperimentalSubmit
128         make clean
129 fi