From: Michael Jeanson Date: Wed, 28 Oct 2020 19:19:35 +0000 (-0400) Subject: jjb: babeltrace: Add FreeBSD jobs X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=894db5f110d0650f303b539b07866a238ba20228;p=lttng-ci.git jjb: babeltrace: Add FreeBSD jobs Signed-off-by: Michael Jeanson --- diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index a22237b..ca6f339 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -715,6 +715,11 @@ 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] @@ -764,6 +769,11 @@ 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] diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index a9ad856..8fe9fd8 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -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