Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename SIMIX files
[simgrid.git] / buildtools / pipol / Nightly_memCheck.sh
1 #!/bin/bash
2
3 #PIPOL esn amd64_2010-linux-ubuntu-maverick.dd.gz none 02:00 --user --silent
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 git clone git://scm.gforge.inria.fr/simgrid/simgrid.git simgrid --quiet
16 cd simgrid
17
18 perl ./buildtools/pipol/cmake.pl
19 perl ./buildtools/pipol/ruby.pl
20
21 if [ -e /usr/bin/gcc-4.6 ] ; then
22 export CC=gcc-4.6
23 export CXX=g++-4.6
24 else
25 export CC=gcc
26 export CXX=g++
27 fi
28
29 #mem-check
30 cmake \
31 -Denable_lua=off \
32 -Denable_tracing=off \
33 -Denable_smpi=off \
34 -Denable_compile_optimizations=off \
35 -Denable_compile_warnings=on \
36 -Denable_lib_static=off \
37 -Denable_model-checking=off \
38 -Denable_latency_bound_tracking=off \
39 -Denable_gtnets=off \
40 -Denable_jedule=off \
41 -Denable_memcheck=on ./
42 ctest -D NightlyStart
43 ctest -D NightlyConfigure
44 ctest -D NightlyBuild
45 ctest -D NightlyMemCheck
46 ctest -D NightlySubmit