Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Put PROCESSOR_COUNT in gras_config.h
[simgrid.git] / buildtools / pipol / MemCheck.sh
1 #!/bin/bash
2
3 if [ -e ./pipol ] ; then
4         rm -rf ./pipol/$PIPOL_HOST
5         mkdir ./pipol/$PIPOL_HOST
6 else
7         mkdir ./pipol
8         rm -rf ./pipol/$PIPOL_HOST
9         mkdir ./pipol/$PIPOL_HOST
10 fi
11 cd ./pipol/$PIPOL_HOST
12
13 git clone git://scm.gforge.inria.fr/simgrid/simgrid.git simgrid --quiet
14 cd simgrid
15
16 perl ./buildtools/pipol/cmake.pl
17 perl ./buildtools/pipol/ruby.pl
18
19 if [ -e /usr/bin/gcc-4.6 ] ; then
20 export CC=gcc-4.6
21 export CXX=g++-4.6
22 else
23 export CC=gcc
24 export CXX=g++
25 fi
26
27 #mem-check
28 cmake \
29 -Denable_lua=off \
30 -Denable_tracing=off \
31 -Denable_compile_optimizations=off \
32 -Denable_compile_warnings=on \
33 -Denable_lib_static=off \
34 -Denable_model-checking=off \
35 -Denable_latency_bound_tracking=off \
36 -Denable_gtnets=off \
37 -Denable_jedule=off \
38 -Drelease=on \
39 -Denable_memcheck=on ./
40 ctest -D ExperimentalStart
41 ctest -D ExperimentalConfigure
42 ctest -D ExperimentalBuild
43 ctest -D ExperimentalMemCheck
44 ctest -D ExperimentalSubmit