Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
eff1b0695a55994d85f7c8ad2195126734473903
[simgrid.git] / buildtools / pipol / Nightly_simgrid.sh
1 #!/bin/bash
2
3 #PRE-PIPOL /home/mescal/navarro/pre-simgrid.sh
4
5
6 #PIPOL esn i386-linux-ubuntu-jaunty.dd.gz none 02:00 --user --silent
7 #PIPOL esn amd64-linux-ubuntu-jaunty.dd.gz none 02:00 --user --silent
8 #PIPOL esn i386-linux-ubuntu-karmic.dd.gz none 02:00 --user --silent
9 #PIPOL esn amd64-linux-ubuntu-karmic.dd.gz none 02:00 --user --silent
10 #PIPOL esn i386-linux-ubuntu-lucid.dd.gz none 02:00 --user --silent
11 #PIPOL esn amd64-linux-ubuntu-lucid.dd.gz none 02:00 --user --silent
12 #PIPOL esn amd64_2010-linux-ubuntu-maverick.dd.gz none 02:00 --user --silent
13
14 #PIPOL esn i386-linux-fedora-core11.dd.gz none 02:00 --user --silent
15 #PIPOL esn amd64-linux-fedora-core11.dd.gz none 02:00 --user --silent
16 #PIPOL esn i386-linux-fedora-core12.dd.gz none 02:00 --user --silent
17 #PIPOL esn amd64-linux-fedora-core12.dd.gz none 02:00 --user --silent
18 #PIPOL esn i386-linux-fedora-core13.dd.gz none 02:00 --user --silent
19 #PIPOL esn amd64-linux-fedora-core13.dd.gz none 02:00 --user --silent
20
21 #PIPOL esn i386_kvm-linux-debian-lenny none 02:00 --user --silent
22 #PIPOL esn amd64_kvm-linux-debian-lenny none 02:00 --user --silent
23 #PIPOL esn i386_kvm-linux-debian-testing none 02:00 --user --silent
24 #PIPOL esn amd64_kvm-linux-debian-testing none 02:00 --user --silent
25
26 #PIPOL esn x86_64_mac-mac-osx-server-snow-leopard.dd.gz none 02:00 --user --silent
27 #PIPOL esn x86_mac-mac-osx-server-snow-leopard.dd.gz none 02:00 --user --silent
28
29 if [ -e ./pipol ] ; then
30         rm -rf ./pipol/$PIPOL_HOST
31         mkdir ./pipol/$PIPOL_HOST
32 else
33         mkdir ./pipol
34         rm -rf ./pipol/$PIPOL_HOST
35         mkdir ./pipol/$PIPOL_HOST
36 fi
37 cd ./pipol/$PIPOL_HOST
38
39 svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet
40 cd simgrid-trunk
41
42 sh ./buildtools/pipol/liste_install.sh
43 sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install
44 SIMGRID_ROOT=`pwd`
45 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib
46 perl ./buildtools/pipol/cmake.pl
47 perl ./buildtools/pipol/ruby.pl
48
49 rm CMakeCache.txt
50
51 #supernovae
52 cmake \
53 -Denable_lua=on \
54 -Denable_ruby=on \
55 -Denable_java=on \
56 -Denable_tracing=on \
57 -Denable_smpi=on \
58 -Denable_supernovae=on \
59 -Denable_compile_optimizations=on \
60 -Denable_compile_warnings=on \
61 -Denable_lib_static=off \
62 -Denable_model-checking=off \
63 -Denable_latency_bound_tracking=off \
64 -Denable_gtnets=off .
65 ctest -D ExperimentalStart
66 ctest -D ExperimentalConfigure
67 ctest -D ExperimentalBuild
68 ctest -D ExperimentalTest
69 ctest -D ExperimentalSubmit
70 make clean
71
72 #MC
73 cmake \
74 -Denable_latency_bound_tracking=on \
75 -Denable_gtnets=on \
76 -Dgtnets_path=./gtnets_install \
77 -Denable_coverage=on \
78 -Denable_model-checking=on \
79 -Denable_compile_optimizations=off \
80 -Denable_supernovae=off .
81 ctest -D ExperimentalStart
82 ctest -D ExperimentalConfigure
83 ctest -D ExperimentalBuild
84 ctest -D ExperimentalTest
85 ctest -D ExperimentalCoverage
86 ctest -D ExperimentalSubmit
87 make clean