Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the Java compilation and linking
[simgrid.git] / buildtools / pipol / Nightly_memCheck.sh
1 #!/bin/bash
2
3 ulimit -c 0
4
5 #PIPOL esn amd64_2010-linux-ubuntu-maverick.dd.gz none 02:00 --user --silent
6
7 if [ -e ./pipol ] ; then
8         rm -rf ./pipol/$PIPOL_HOST
9         mkdir ./pipol/$PIPOL_HOST
10 else
11         mkdir ./pipol
12         rm -rf ./pipol/$PIPOL_HOST
13         mkdir ./pipol/$PIPOL_HOST
14 fi
15 cd ./pipol/$PIPOL_HOST
16
17 export GIT_SSL_NO_VERIFY=1
18 git clone git://scm.gforge.inria.fr/simgrid/simgrid.git
19 cd simgrid
20
21 perl ./buildtools/pipol/cmake.pl
22 perl ./buildtools/pipol/ruby.pl
23
24 if [ -e /usr/bin/gcc-4.6 ] ; then
25 export CC=gcc-4.6
26 export CXX=g++-4.6
27 else
28 export CC=gcc
29 export CXX=g++
30 fi
31
32 #mem-check
33 cmake \
34 -Denable_lua=off \
35 -Denable_tracing=on \
36 -Denable_smpi=on \
37 -Denable_compile_optimizations=off \
38 -Denable_compile_warnings=on \
39 -Denable_lib_static=off \
40 -Denable_model-checking=off \
41 -Denable_latency_bound_tracking=off \
42 -Denable_gtnets=off \
43 -Denable_jedule=off \
44 -Denable_mallocators=off \
45 -Denable_memcheck=on ./
46 ctest -D NightlyStart
47 ctest -D NightlyConfigure
48 ctest -D NightlyBuild
49 ctest -D NightlyMemCheck
50 ctest -D NightlySubmit