jjb: babeltrace: split doc generation
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 8 Aug 2022 15:33:41 +0000 (11:33 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 8 Aug 2022 18:59:59 +0000 (14:59 -0400)
Split doc generation in a separate configuration that will only run on
the main amd64 nodes.

Change-Id: Ib3d5b15c414a2d57ba9c5090ed57da3ec4bff348
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml
scripts/babeltrace/build.sh

index f733fce01f14772c1664d756eebbdbf736778c20..31f043e3963dc4f8154ce9deeef5e30ee722fbc6 100644 (file)
           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}':
index e71f4cc8457393189a8d68e997ebab4d34f81e15..2d7ab094100ec147451de46e2521369e413927e6 100755 (executable)
@@ -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)
This page took 0.040445 seconds and 4 git commands to generate.