From: Michael Jeanson Date: Fri, 16 Oct 2020 14:01:56 +0000 (-0400) Subject: jjb: liburcu: Add FreeBSD jobs X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6ad0e7e688682661e5d2d5896e32b0f2dbf2a8bc;p=lttng-ci.git jjb: liburcu: Add FreeBSD jobs Signed-off-by: Michael Jeanson --- diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index 98e40b4..db1f544 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -321,6 +321,14 @@ arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [std] + - 'liburcu_{version}_{buildtype}': + buildtype: freebsdbuild + arch: !!python/tuple [freebsd] + build: !!python/tuple [std] + conf: !!python/tuple [std] + version: + - stable-0.12 + - master - 'liburcu_{version}_cppcheck' - 'liburcu_{version}_scan-build' - 'liburcu_{version}_coverity': diff --git a/scripts/liburcu/build.sh b/scripts/liburcu/build.sh index 7924a06..b589d4b 100755 --- a/scripts/liburcu/build.sh +++ b/scripts/liburcu/build.sh @@ -200,6 +200,16 @@ macosx) export PYTHON_CONFIG="python3-config" ;; +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" + ;; + *) export MAKE=make export TAR=tar