Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some tests for crosstraffic = 1.
[simgrid.git] / buildtools / pipol / Experimental.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 #Those 3 lines is for GTNetS
28 #sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install
29 #SIMGRID_ROOT=`pwd`
30 #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib
31
32 #MC
33 cmake \
34 -Denable_latency_bound_tracking=on \
35 -Denable_gtnets=on \
36 -Dgtnets_path=./gtnets_install \
37 -Denable_coverage=on \
38 -Denable_model-checking=on \
39 -Denable_compile_optimizations=off \
40 -Denable_auto_install=on \
41 -DCMAKE_INSTALL_PREFIX=./simgrid_install \
42 -Drelease=on .
43 ctest -D ExperimentalStart
44 ctest -D ExperimentalConfigure
45 ctest -D ExperimentalBuild
46 ctest -D ExperimentalTest
47 ctest -D ExperimentalCoverage
48 ctest -D ExperimentalSubmit
49 make clean