From 6871000cbd00b2dd074a3bd313e8dfba24c83ffc Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 9 Mar 2023 16:45:11 -0500 Subject: [PATCH] jjb: Add Yocto jobs Change-Id: I62e3e10b72d6d312d6959d040810988b9c9e62d9 Signed-off-by: Michael Jeanson --- jobs/babeltrace.yaml | 7 +++++++ jobs/liburcu.yaml | 6 ++++++ jobs/lttng-tools.yaml | 12 ++++++++++++ jobs/lttng-ust.yaml | 9 +++++++++ scripts/babeltrace/build.sh | 5 +++++ scripts/lttng-tools/build.sh | 5 +++++ scripts/lttng-ust/build.sh | 5 +++++ 7 files changed, 49 insertions(+) diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 5339e0f..3c9684f 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -556,6 +556,13 @@ confs: !!python/tuple [std, prod] filter: '' touchstone: '' + - '{job_prefix}babeltrace_{version}_{buildtype}': + buildtype: yoctobuild + platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + filter: '' + touchstone: '' - '{job_prefix}babeltrace_{version}_{buildtype}': buildtype: macosbuild platforms: !!python/tuple [macos-amd64, macos-arm64] diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index 2d79cf2..abd0878 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -331,6 +331,12 @@ builds: !!python/tuple [std] confs: !!python/tuple [std] touchstone: '(build == "std")' + - '{job_prefix}liburcu_{version}_{buildtype}': + buildtype: yoctobuild + platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + touchstone: '(build == "std")' - '{job_prefix}liburcu_{version}_{buildtype}': buildtype: macosbuild platforms: !!python/tuple [macos-amd64, macos-arm64] diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 2f922d8..d7a0004 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -884,6 +884,18 @@ testtypes: !!python/tuple [base] filter: '' touchstone: '' + - '{job_prefix}lttng-tools_{version}_{buildtype}': + buildtype: yoctobuild + version: master + ustversion: master + platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + testtypes: !!python/tuple [base] + filter: '' + touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: macosbuild version: master diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index 162c988..2362ab2 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -530,6 +530,15 @@ liburcu_versions: !!python/tuple [stable-0.13, master] filter: '' touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: yoctobuild + version: master + platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: freebsdbuild version: master diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index f6bc52d..ddb9162 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -275,6 +275,11 @@ min) if vergte "$PACKAGE_VERSION" "2.0"; then CONF_OPTS+=("--enable-python-bindings" "--enable-python-plugins") fi + + # Something is broken in docbook-xml on yocto + if [[ "$platform" = yocto* ]]; then + CONF_OPTS+=("--disable-man-pages") + fi ;; esac diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index 577b835..84367e0 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -373,6 +373,11 @@ debug-rcu) *) echo "Standard configuration" + + # Something is broken in docbook-xml on yocto + if [[ "$platform" = yocto* ]]; then + CONF_OPTS+=("--disable-man-pages") + fi ;; esac diff --git a/scripts/lttng-ust/build.sh b/scripts/lttng-ust/build.sh index f69d018..7ce2739 100755 --- a/scripts/lttng-ust/build.sh +++ b/scripts/lttng-ust/build.sh @@ -233,6 +233,11 @@ debug-rcu) *) echo "Standard configuration" + + # Something is broken in docbook-xml on yocto + if [[ "$platform" = yocto* ]]; then + CONF_OPTS+=("--disable-man-pages") + fi ;; esac -- 2.34.1