Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[jenkins] Cleanup memcheck files in the DynamicAnalysis script
[simgrid.git] / buildtools / pipol / MemCheck.sh
1 #!/bin/bash
2
3 ulimit -c 0
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 export GIT_SSL_NO_VERIFY=1
16 git clone git://scm.gforge.inria.fr/simgrid/simgrid.git
17 cd simgrid
18
19 perl ./buildtools/pipol/cmake.pl
20 perl ./buildtools/pipol/ruby.pl
21
22 if [ -e /usr/bin/gcc-4.6 ] ; then
23 export CC=gcc-4.6
24 export CXX=g++-4.6
25 else
26 export CC=gcc
27 export CXX=g++
28 fi
29
30 #mem-check
31 cmake \
32 -Denable_lua=off \
33 -Denable_tracing=on \
34 -Denable_smpi=on \
35 -Denable_compile_optimizations=off \
36 -Denable_compile_warnings=on \
37 -Denable_lib_static=off \
38 -Denable_model-checking=off \
39 -Denable_latency_bound_tracking=off \
40 -Denable_gtnets=off \
41 -Denable_jedule=off \
42 -Denable_mallocators=off \
43 -Denable_memcheck=on ./
44 ctest -D ExperimentalStart
45 ctest -D ExperimentalConfigure
46 ctest -D ExperimentalBuild
47 ctest -D ExperimentalMemCheck
48 ctest -D ExperimentalSubmit