Logo AND Algorithmique Numérique Distribuée

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