7 # OS specific working directory
11 # Clean any leftover from previous install
12 echo "remove old directory $BASEDIR/$OS/$node"
13 rm -rf $BASEDIR/$OS/$node
15 # create a new directory
16 echo "create new directory $BASEDIR/$OS/$node"
18 mkdir $BASEDIR/$OS/$node
22 if [ $1 = "DISTRIB" ]; then
26 # Install dependencies Linux
27 echo "get dependencies Linux"
28 sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind
30 # delete the old distrib
31 rm $BASEDIR/simgrid*.tar.gz
33 # load the simgrid directory from svn
34 echo "load simgrid-svn"
35 svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk
37 cd $BASEDIR/$OS/$node/simgrid
44 echo "./configure --enable-maintainer-mode --disable-compile-optimizations"
45 ./configure --enable-maintainer-mode --disable-compile-optimizations
55 # copy du Cmake sur BASEDIR
56 cp -r buildtools/ctest/Cmake $BASEDIR/
58 # copie de la distrib sur BASEDIR
59 cp simgrid*.tar.gz $BASEDIR/
61 # suppression des fichiers tmp
66 if [ $1 = "WAIT" ]; then
68 echo "attente de distrib"
69 while [ ! -e $BASEDIR/simgrid*.tar.gz ];
72 #nothing to do except waiting
74 echo "distrib disponible"
76 # recuperation de la distrib
77 cp $BASEDIR/simgrid*.tar.gz $BASEDIR/$OS/$node/simgrid*.tar.gz
81 tar xzvf ./simgrid*.tar.gz
85 cp -r $BASEDIR/Cmake $BASEDIR/$OS/$node/simgrid/Cmake
88 cd $BASEDIR/$OS/$node/simgrid
100 sudo aptitude install -y cmake
101 cd $BASEDIR/$OS/$node/simgrid/Cmake
103 ctest -D Experimental CTEST_FULL_OUTPUT
107 echo "argument non connu"
112 echo "pas d'argument"