3 # Test this script locally as follows (rerun `docker pull simgrid/unstable` to get a fresh version).
4 # cd (simgrid)/tools/jenkins
5 # docker run -it --rm --volume `pwd`:/source simgrid/unstable /source/ci-starpu.sh
11 echo "XXXXXXXXXXXXXXXX Install APT dependencies"
13 $SUDO apt-get -y install build-essential libboost-all-dev wget git
15 for i in master 1.3 ; do
16 echo "XXXXXXXXXXXXXXXX Build and test StarPU $i"
18 wget https://files.inria.fr/starpu/simgrid/starpu-simgrid-$i.tar.gz
19 md5sum starpu-simgrid-$i.tar.gz
20 tar xf starpu-simgrid-$i.tar.gz
23 # NOTE: Do *not* introduce parameters to "make it work" here.
24 # Things should "just work" with default parameters!
25 # Users should not have to tinker to get starpu working on top of simgrid, that is precisely why we have this CI
27 if [ $i = master ]; then
28 # On master, fail if we use deprecated functions, so that StarPU people know they have to stop using them, fix it, and thus make CI happy again
29 CFLAGS="-Werror=deprecated-declarations"
30 CXXFLAGS="-Werror=deprecated-declarations"
35 if ! ./configure CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \
36 --enable-simgrid --disable-shared --enable-mpi-check --disable-cuda \
37 --disable-build-doc --enable-quick-check
44 for STARPU_SCHED in eager dmdas ; do