Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s4u tuto: make it clear that you have to run cmake and make on docker content
[simgrid.git] / BuildSimGrid.sh
1 #!/usr/bin/env sh
2 #
3 # This little script rebuilds and runs the SimGrid archive in parallel, extracting a log
4 # This is almost an internal script, but others may find this useful
5 #
6 # Copyright (c) 2017-2018 The SimGrid Team. Licence: LGPL of WDFPL, as you want.
7
8 if [ ! -e Makefile ] ; then
9   echo "Please configure SimGrid before building it:"
10   echo "   ccmake ."
11   exit 1
12 fi
13
14 (
15   (nice make -j4 || make) && nice ctest -j4 --output-on-failure ; date
16 ) 2>&1 | tee BuildSimGrid.sh.log
17 exit 0