Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid to fill up the disks of build daemons with core files.
[simgrid.git] / buildtools / pipol / Experimental_bindings.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 #git checkout v3_7_x
19
20 perl ./buildtools/pipol/cmake.pl
21 perl ./buildtools/pipol/ruby.pl
22
23 if [ -e /usr/bin/gcc-4.6 ] ; then
24 export CC=gcc-4.6
25 export CXX=g++-4.6
26 else
27 export CC=gcc
28 export CXX=g++
29 fi
30
31 mkdir build-def
32 cd build-def
33
34 #DEFAULT CONF
35 cmake \
36 -Denable_smpi_MPICH3_testsuite=on ..
37 ctest -D ExperimentalStart
38 ctest -D ExperimentalConfigure
39 ctest -D ExperimentalBuild
40 ctest -D ExperimentalTest
41 ctest -D ExperimentalSubmit
42 cd ../
43 rm -rf ./build-def
44
45 # really clean the working directory
46 git reset --hard master
47 git clean -dfx
48
49 #MC
50 cmake \
51 -Denable_coverage=on \
52 -Denable_model-checking=on \
53 -Denable_lua=on \
54 -Denable_compile_optimizations=off .
55 ctest -D ExperimentalStart
56 ctest -D ExperimentalConfigure
57 ctest -D ExperimentalBuild
58 ctest -D ExperimentalTest
59 ctest -D ExperimentalCoverage
60 ctest -D ExperimentalSubmit
61
62 export SIMGRID_ROOT=`pwd`
63 export LD_LIBRARY_PATH=`pwd`/lib
64 export DYLD_LIBRARY_PATH=`pwd`/lib #for mac
65
66 cd ../
67 git clone git://scm.gforge.inria.fr/simgrid/simgrid-ruby.git simgrid-ruby --quiet
68 cd simgrid-ruby
69
70 cmake .
71 ctest -D ExperimentalStart
72 ctest -D ExperimentalConfigure
73 ctest -D ExperimentalBuild
74 ctest -D ExperimentalTest
75 ctest -D ExperimentalSubmit