Preparatory, no functional change intended.
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
variables:
SCONSFLAGS: "-j4"
script:
- - if test -n "$LLVM_VERSION"; then
- export LLVM_CONFIG="llvm-config-${LLVM_VERSION}";
- fi
- - scons $SCONS_TARGET
- - eval $SCONS_CHECK_COMMAND
+ - .gitlab-ci/scons-build.sh
meson-main:
extends:
--- /dev/null
+#!/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