From: Michael Jeanson Date: Mon, 8 Aug 2022 15:33:41 +0000 (-0400) Subject: jjb: babeltrace: split doc generation X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=301b8fc9aab525fdcf4a300ec45fd4d2c1bf214a;p=lttng-ci.git 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 --- 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)