From 0628a9d8d35076a287a887be0421fbca9f7a3cdf Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 2 May 2016 16:07:39 -0400 Subject: [PATCH] Add babeltrace clang builds Signed-off-by: Michael Jeanson --- jobs/babeltrace.yaml | 5 +++++ scripts/babeltrace/build.sh | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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 ;; -- 2.34.1