Add babeltrace clang builds
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 2 May 2016 20:07:39 +0000 (16:07 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 2 May 2016 20:07:39 +0000 (16:07 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml
scripts/babeltrace/build.sh

index 53afda79edb86f2a2c6a9b3ce430a0847f67320a..f3f1238c7e619f9562a9a244ecb698188abe7be1 100644 (file)
           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]
index d545b9988ae7cd25f3ae2b37bfaa89d3994c5f7c..442feb94be46495eec7454e7537fb50e340a82b4 100755 (executable)
@@ -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
         ;;
This page took 0.024863 seconds and 4 git commands to generate.