jjb: babeltrace: Add FreeBSD jobs
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 28 Oct 2020 19:19:35 +0000 (15:19 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 28 Oct 2020 19:19:35 +0000 (15:19 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml
scripts/babeltrace/build.sh

index a22237b5622036ecbb215e74b7cfcedc49f91c51..ca6f33961a1b0d73b28b6d93f9f223e9e9bd96da 100644 (file)
           arch: !!python/tuple [macosx]
           build: !!python/tuple [std]
           conf: !!python/tuple [std]
+      - 'babeltrace_{version}_{buildtype}':
+          buildtype: freebsdbuild
+          arch: !!python/tuple [freebsd]
+          build: !!python/tuple [std]
+          conf: !!python/tuple [std]
       - 'babeltrace_{version}_{cctype}':
           cctype: clangbuild
           arch: !!python/tuple [amd64]
           arch: !!python/tuple [macosx]
           build: !!python/tuple [std]
           conf: !!python/tuple [std, prod]
+      - 'babeltrace_{version}_{buildtype}':
+          buildtype: freebsdbuild
+          arch: !!python/tuple [freebsd]
+          build: !!python/tuple [std]
+          conf: !!python/tuple [std, prod]
       - 'babeltrace_{version}_{cctype}':
           cctype: clangbuild
           arch: !!python/tuple [amd64]
index a9ad856d344b837c1fac8f8c77d6955233a9d24d..8fe9fd8e4ded5dacf26f3fdaa91421a0e18ade81 100755 (executable)
@@ -208,6 +208,19 @@ cygwin)
     rebase_dll=1
     ;;
 
+freebsd)
+    export MAKE=gmake
+    export TAR=tar
+    export NPROC="getconf _NPROCESSORS_ONLN"
+    export CPPFLAGS="-I/usr/local/include"
+    export LDFLAGS="-L/usr/local/lib"
+    export PYTHON="python3"
+    export PYTHON_CONFIG="python3-config"
+
+    # For bt 1.5
+    export YACC="bison -y"
+    ;;
+
 *)
     export MAKE=make
     export TAR=tar
This page took 0.025033 seconds and 4 git commands to generate.