2 # This script creates a new dist archive from the svn
4 set -e # fail fast on errors
5 source ~/simgrid-svn/buildtools/Cmake/cmake_simgrid.conf # get config
7 echo "get Linux dependencies"
8 sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig
11 cd ${SIMGRID_SVN_ROOT}
17 echo "rebuild the missing files for compilation"
19 ./configure --enable-maintainer-mode --disable-compile-optimizations
21 echo "Make the archive"
24 echo "Copy the archive in position"
25 mkdir -p ${SIMGRID_BASEDIR}
26 mv simgrid*.tar.gz ${SIMGRID_BASEDIR}