X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ef98d4c7ca216cc41f8fc0be02a03546845fd0c..6f6bfc3b15c87167d99f97ff96388a79cc50031d:/tools/jenkins/ci-starpu.sh diff --git a/tools/jenkins/ci-starpu.sh b/tools/jenkins/ci-starpu.sh index fc0ced67a7..f435e01c26 100755 --- a/tools/jenkins/ci-starpu.sh +++ b/tools/jenkins/ci-starpu.sh @@ -1,18 +1,19 @@ #!/usr/bin/env sh -set -e + +# Test this script locally as follows (rerun `docker pull simgrid/unstable` to get a fresh version). +# cd (simgrid)/tools/jenkins +# docker run -it --rm --volume `pwd`:/source simgrid/unstable /source/ci-starpu.sh + +set -ex export SUDO="" -# Update refs, just in case +echo "XXXXXXXXXXXXXXXX Install APT dependencies" $SUDO apt-get update - -# Install basic tools -$SUDO apt-get -y install build-essential -$SUDO apt-get -y install libboost-all-dev -$SUDO apt-get -y install wget -$SUDO apt-get -y install git +$SUDO apt-get -y install build-essential libboost-all-dev wget git xsltproc for i in master 1.3 ; do + echo "XXXXXXXXXXXXXXXX Build and test StarPU $i" rm -rf starpu* wget https://files.inria.fr/starpu/simgrid/starpu-simgrid-$i.tar.gz md5sum starpu-simgrid-$i.tar.gz @@ -21,7 +22,7 @@ for i in master 1.3 ; do # NOTE: Do *not* introduce parameters to "make it work" here. # Things should "just work" with default parameters! - # Users should not have to tinker to get starpu working on top of simgrid, that is precisely why we have this CI + # Users should not have to tinker to get starpu working on top of SimGrid, that is precisely why we have this CI if [ $i = master ]; then # 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 @@ -32,13 +33,13 @@ for i in master 1.3 ; do CXXFLAGS="" fi if ! ./configure CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \ - --enable-simgrid --disable-shared --enable-mpi-check --disable-cuda \ + --enable-simgrid --disable-shared --enable-mpi --enable-mpi-check --disable-cuda \ --disable-build-doc --enable-quick-check then cat ./config.log false fi - make -j 2 V=1 + make -j$(nproc) V=1 for STARPU_SCHED in eager dmdas ; do export STARPU_SCHED