summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/scons-build.sh
blob: 30e93c2bb389adc5d59e4d0635c44db881884563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -e
set -o xtrace

if test -n "$LLVM_VERSION"; then
    export LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
fi

rm -rf build
scons $SCONS_TARGET
eval $SCONS_CHECK_COMMAND