From 6ad0e7e688682661e5d2d5896e32b0f2dbf2a8bc Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 16 Oct 2020 10:01:56 -0400 Subject: [PATCH] jjb: liburcu: Add FreeBSD jobs Signed-off-by: Michael Jeanson --- jobs/liburcu.yaml | 8 ++++++++ scripts/liburcu/build.sh | 10 ++++++++++ 2 files changed, 18 insertions(+) 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 -- 2.34.1