jjb: babeltrace: prepare for ubuntu jammy upgrade
[lttng-ci.git] / scripts / babeltrace / build.sh
index e71f4cc8457393189a8d68e997ebab4d34f81e15..56b9b436ef85961b7c7ab51703f52e32caaf3e7f 100755 (executable)
@@ -83,7 +83,7 @@ failed_configure() {
 # Required variables
 WORKSPACE=${WORKSPACE:-}
 
-arch=${arch:-}
+platform=${platform:-}
 conf=${conf:-}
 build=${build:-}
 cc=${cc:-}
@@ -133,7 +133,7 @@ if [ "x${CC:-}" != "x" ]; then
 fi
 
 # Set platform variables
-case "$arch" in
+case "$platform" in
 macos*)
     export MAKE=make
     export TAR=tar
@@ -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.023039 seconds and 4 git commands to generate.