Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
4502ef38409d79ac75ff43ce0cccd3a97cfeb9f8
[simgrid.git] / buildtools / pipol / Nightly_simgrid.sh
1 #!/bin/bash
2
3 #PRE-PIPOL /home/mescal/navarro/pre-simgrid.sh
4
5 #PIPOL esn i386-linux-ubuntu-karmic.dd.gz none 02:00 --user --silent
6 #PIPOL esn amd64-linux-ubuntu-karmic.dd.gz none 02:00 --user --silent
7 #PIPOL esn i386-linux-ubuntu-lucid.dd.gz none 02:00 --user --silent
8 #PIPOL esn amd64-linux-ubuntu-lucid.dd.gz none 02:00 --user --silent
9 #PIPOL esn amd64_2010-linux-ubuntu-maverick.dd.gz none 02:00 --user --silent
10
11 #PIPOL esn i386-linux-fedora-core12.dd.gz none 02:00 --user --silent
12 #PIPOL esn amd64-linux-fedora-core12.dd.gz none 02:00 --user --silent
13 #PIPOL esn i386-linux-fedora-core13.dd.gz none 02:00 --user --silent
14 #PIPOL esn amd64-linux-fedora-core13.dd.gz none 02:00 --user --silent
15
16 #PIPOL esn i386_kvm-linux-debian-lenny none 02:00 --user --silent
17 #PIPOL esn amd64_kvm-linux-debian-lenny none 02:00 --user --silent
18 #PIPOL esn i386_kvm-linux-debian-testing none 02:00 --user --silent
19 #PIPOL esn amd64_kvm-linux-debian-testing none 02:00 --user --silent
20
21 if [ -e ./pipol ] ; then
22         rm -rf ./pipol/$PIPOL_HOST
23         mkdir ./pipol/$PIPOL_HOST
24 else
25         mkdir ./pipol
26         rm -rf ./pipol/$PIPOL_HOST
27         mkdir ./pipol/$PIPOL_HOST
28 fi
29 cd ./pipol/$PIPOL_HOST
30
31 svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet
32 cd simgrid-trunk
33
34 sh ./buildtools/pipol/liste_install.sh
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 rm CMakeCache.txt
42
43 if [ x$PIPOL_IMAGE == "xamd64_2010-linux-ubuntu-maverick.dd.gz" ] ; then
44         #mem-check
45         cmake \
46         -Denable_lua=off \
47         -Denable_ruby=off \
48         -Denable_java=off \
49         -Denable_tracing=off \
50         -Denable_smpi=off \
51         -Denable_supernovae=off \
52         -Denable_compile_optimizations=off \
53         -Denable_compile_warnings=on \
54         -Denable_lib_static=off \
55         -Denable_model-checking=off \
56         -Denable_latency_bound_tracking=off \
57         -Denable_gtnets=off \
58         -Denable_jedule=off \
59         -Denable_memcheck=on ./
60         ctest -D NightlyStart
61         ctest -D NightlyConfigure
62         ctest -D NightlyBuild
63         ctest -D NightlyMemCheck
64         ctest -D NightlySubmit
65         make clean
66 else
67         #supernovae
68         cmake \
69         -Denable_lua=on \
70         -Denable_ruby=on \
71         -Denable_java=on \
72         -Denable_tracing=on \
73         -Denable_smpi=on \
74         -Denable_supernovae=on \
75         -Denable_compile_optimizations=on \
76         -Denable_compile_warnings=on \
77         -Denable_lib_static=off \
78         -Denable_model-checking=off \
79         -Denable_latency_bound_tracking=off \
80         -Denable_gtnets=off .
81         ctest -D NightlyStart
82         ctest -D NightlyConfigure
83         ctest -D NightlyBuild
84         ctest -D NightlyTest
85         ctest -D NightlySubmit
86         make clean
87         
88         #MC
89         cmake \
90         -Denable_latency_bound_tracking=on \
91         -Denable_gtnets=on \
92         -Dgtnets_path=./gtnets_install \
93         -Denable_coverage=on \
94         -Denable_model-checking=on \
95         -Denable_compile_optimizations=off \
96         -Denable_auto_install=on \
97         -DCMAKE_INSTALL_PREFIX=./simgrid_install \
98         -Denable_supernovae=off .
99         ctest -D NightlyStart
100         ctest -D NightlyConfigure
101         ctest -D NightlyBuild
102         ctest -D NightlyTest
103         ctest -D NightlyCoverage
104         ctest -D NightlySubmit
105         make clean
106 fi