From 301b8fc9aab525fdcf4a300ec45fd4d2c1bf214a Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 8 Aug 2022 11:33:41 -0400 Subject: [PATCH 1/1] jjb: babeltrace: split doc generation Split doc generation in a separate configuration that will only run on the main amd64 nodes. Change-Id: Ib3d5b15c414a2d57ba9c5090ed57da3ec4bff348 Signed-off-by: Michael Jeanson --- jobs/babeltrace.yaml | 2 +- scripts/babeltrace/build.sh | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index f733fce..31f043e 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -558,7 +558,7 @@ buildtype: build archs: !!python/tuple [amd64] builds: !!python/tuple [std, oot, dist, oot-dist] - confs: !!python/tuple [std, static, prod, min] + confs: !!python/tuple [std, static, prod, min, doc] filter: '' touchstone: '(build == "std") && (conf == "std")' - '{job_prefix}babeltrace_{version}_{buildtype}': diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index e71f4cc..2d7ab09 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -226,7 +226,13 @@ prod) unset BABELTRACE_MINIMAL_LOG_LEVEL # Enable the python bindings - CONF_OPTS+=("--enable-python-bindings" "--enable-python-bindings-doc" "--enable-python-plugins") + CONF_OPTS+=("--enable-python-bindings" "--enable-python-plugins") + ;; + +doc) + echo "Documentation configuration" + + CONF_OPTS+=("--enable-python-bindings" "--enable-python-bindings-doc" "--enable-python-plugins" "--enable-api-doc") ;; min) -- 2.34.1