.gitlab-ci-env.sh 830 Bytes
Newer Older
1 2 3 4 5 6 7
#!/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

8
# too noisy
9
export STARPU_SILENT=1
10

11
# if simgrid change the default starpu dir to use
12
if [ "$1" == "simu" ]; then
13
  export STARPU_DIR=$STARPUSIMGRID_DIR
14 15
fi

16
# for build: better to rely on pkg-config than to guess libraries with the env. var.
17 18
export PKG_CONFIG_PATH=$PARSEC_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
19 20 21 22 23 24

# for ctest: we need this at runtime
export LD_LIBRARY_PATH=$PARSEC_DIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$QUARK_DIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$STARPU_DIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$SIMGRID_DIR/lib:$LD_LIBRARY_PATH