1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/common/travis/environment.sh

17 lines
390 B
Bash
Raw Normal View History

2016-11-19 02:55:46 -05:00
#!/bin/sh
export DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
export LLVM_ROOT="${DEPS_DIR}/llvm-${LLVM_VERSION}"
mkdir -p "${DEPS_DIR}"
mkdir -p "${LLVM_ROOT}"
# Update compiler flags
if [ "${CXX}" = "clang++" ]; then
export CXX="clang++-3.8"
export CC="clang-3.8"
export CXXFLAGS="${CXXFLAGS} -Qunused-arguments"
elif [ "${CXX}" = "g++" ]; then
export CXX="g++-5"
export CC="gcc-5"
fi