.gitlab-ci-env.sh 784 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash

# custom environment used during CI tests with gitlab ci

# these paths may depend on the runner used, please be careful and add
# the necessary if blocks depending on the machine

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=/builds/sonar/lcov-to-cobertura-xml-1.6/lcov_cobertura:$PATH
export PATH=/builds/sonar/sonar-scanner-2.9.0.670/bin:$PATH

export QUARK_DIR=/builds/install/quark
export PARSEC_DIR=/builds/install/parsec
export STARPU_DIR=/builds/install/starpu
PRUVOST Florent's avatar
PRUVOST Florent committed
15
export STARPU_SILENT=1
16 17 18 19 20 21 22 23

if [ "$1" == "simu" ]; then
  export STARPU_DIR=/builds/install/starpu-simgrid
  export SIMGRID_DIR=/builds/install/simgrid
fi

export PKG_CONFIG_PATH=$PARSEC_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH