X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbabeltrace%2Fbuild.sh;h=8f9d23f4a1feb391caf4c0d4852e8db86b954b97;hb=9201e00def3912853ecc0f570a1abb915bf4ca5a;hp=8ef400830a81dc640b948d3658f928508561053b;hpb=11ba7264a3878d5dc2db5d35002b1ef92f3c42ab;p=lttng-ci.git diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index 8ef4008..8f9d23f 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -222,6 +222,19 @@ python-bindings) CONF_OPTS="${CONF_OPTS} --enable-python-bindings-doc --enable-python-plugins" fi ;; +production) + echo "Production build" + + # Unset the developper variables + unset BABELTRACE_DEBUG_MODE + unset BABELTRACE_DEV_MODE + unset BABELTRACE_MINIMAL_LOG_LEVEL + + # Enable the python bindings + export PYTHON="python3" + export PYTHON_CONFIG="/usr/bin/python3-config" + CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc --enable-python-plugins" + ;; *) echo "Standard build" CONF_OPTS=""