Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
codacy
[simgrid.git] / BuildSimGrid.sh
1 #! /bin/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 The SimGrid Team. Licence: LGPL of WDFPL, as you want.
7
8 if [ -e build/default ] ; then
9   cd build/default
10 fi
11 (
12   (nice make -j4 || make) && nice ctest -j4 --output-on-failure ; date
13 ) 2>&1 | tee BuildSimGrid.sh.log
14 exit 0