2 # This script waits that the make_dist script finishes building the right archive in ~/simgrid
3 # and then builds it using cmake. Warning, cmake is only a wrapper for now, you still need the autotools
5 if [ -e ~/simgrid-svn/buildtools/scripts/simgrid_build.conf ] ; then
6 source ~/simgrid-svn/buildtools/scripts/simgrid_build.conf
8 source ~/.simgrid_build.conf
14 # Make sure we have cmake installed
15 which_cmake=`which cmake 2>/dev/null`
16 if [ x$which_cmake = x ] ; then
17 echo "Try to install cmake"
18 if [ -e /usr/bin/apt-get ] ; then # debian based
19 sudo apt-get install cmake
21 if [ -e /usr/bin/yum ] ; then # fedora based
23 sudo yum -y install cmake
31 # Run CTest, and push the results
32 ctest -D Experimental CTEST_FULL_OUTPUT