From: Michael Jeanson Date: Mon, 2 May 2016 20:07:39 +0000 (-0400) Subject: Add babeltrace clang builds X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0628a9d8d35076a287a887be0421fbca9f7a3cdf;p=lttng-ci.git Add babeltrace clang builds Signed-off-by: Michael Jeanson --- diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 53afda7..f3f1238 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -270,6 +270,11 @@ arch: !!python/tuple [x86-32, x86-64] build: !!python/tuple [std, oot, dist] conf: !!python/tuple [std, static, python-bindings] + - 'babeltrace_{version}_{buildtype}': + buildtype: clangbuild + arch: !!python/tuple [x86-32, x86-64] + build: !!python/tuple [clang] + conf: !!python/tuple [std, static] - 'babeltrace_{version}_{buildtype}': buildtype: portbuild arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index d545b99..442feb9 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -122,7 +122,13 @@ case "$build" in TEST_PLAN_PATH=$BUILD_PATH ;; -*) + clang) + echo "LLVM clang build" + export CC=clang + clang -v + MAKE=$MAKE BISON="$BISON" YACC="$YACC" $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS + ;; + *) echo "Standard tree build" MAKE=$MAKE BISON="$BISON" YACC="$YACC" $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS ;;