Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
load simgrid from svn instead of local repository
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 16 Dec 2009 15:59:27 +0000 (15:59 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 16 Dec 2009 15:59:27 +0000 (15:59 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6905 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/ctest/verif.sh

index d2cfb6a..eb2eb25 100755 (executable)
@@ -18,17 +18,22 @@ mkdir  $BASEDIR/$OS
 mkdir  $BASEDIR/$OS/$node
 cd $BASEDIR/$OS/$node
 
-# load the simgrid directory
-echo "untar simgrid-3.3.4-svn.tar.gz"
-cp /home/mescal/navarro/simgrid-3.3.4-svn.tar.gz $BASEDIR/$OS/$node/simgrid-3.3.4-svn.tar.gz
-tar -xzf ./simgrid-3.3.4-svn.tar.gz
-cp /home/mescal/navarro/Cmake.tar.gz $BASEDIR/$OS/$node/simgrid-3.3.4-svn/Cmake.tar.gz
-cd $BASEDIR/$OS/$node/simgrid-3.3.4-svn
-tar -xzf $BASEDIR/$OS/$node/simgrid-3.3.4-svn/Cmake.tar.gz
+# load the simgrid directory from svn
+echo "load simgrid-svn"
+svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk
+mv trunk/ simgrid
+cp simgrid/buildtools/ctest/Cmake simgrid-svn/Cmake
+
+# Install dependencies
+echo "get dependencies"
+sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind
 
 # 1er test
+cd $BASEDIR/$OS/$node/simgrid
+echo "./bootstrap"
+./bootstrap
 echo "./configure"
-./configure
+./configure --enable-maintainer-mode --disable-compile-optimizations
 echo "make"
 make 
 echo "./checkall"
@@ -36,7 +41,7 @@ echo "./checkall"
 
 # 2eme test ctest
 sudo aptitude install -y cmake
-cd $BASEDIR/$OS/$node/simgrid-3.3.4-svn/Cmake
+cd $BASEDIR/$OS/$node/simgrid/Cmake
 cmake ./
 ctest -D Experimental