summaryrefslogtreecommitdiff
path: root/other/travis/env.sh
blob: 78ce0010cc516e4c93b3559b5949026217aafcb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Globally used environment variables.
export CACHE_DIR=$HOME/cache
export OPAMROOT=$CACHE_DIR/.opam
export LD_LIBRARY_PATH=$CACHE_DIR/lib
export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig
export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle
export CFLAGS="-O3 -DTRAVIS_ENV=1"

BUILD_DIR=_build