X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbabeltrace%2Fbuild.sh;h=fbf05c4c5408f5fd1d59fe98d490fe1784ad912e;hb=0d30552d011c2049f09d57de82873d93959438c5;hp=92c47ed32a8ff29e7af3ddae378b14e27d9e7469;hpb=c3accd92fccc9f6b22c9af2d91e4b0e97556c66f;p=lttng-ci.git diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index 92c47ed..fbf05c4 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -222,7 +222,7 @@ python-bindings) CONF_OPTS="${CONF_OPTS} --enable-python-bindings-doc --enable-python-plugins" fi ;; -production) +prod) echo "Production build" # Unset the developper variables @@ -235,9 +235,21 @@ production) export PYTHON_CONFIG="python3-config" CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc --enable-python-plugins" ;; +min) + echo "Minimal build" + CONF_OPTS="" + ;; *) echo "Standard build" CONF_OPTS="" + + # Enable the python bindings / plugins by default with babeltrace2 + # the test suite is mostly useless without it. + if vergte "$PACKAGE_VERSION" "2.0"; then + export PYTHON="python3" + export PYTHON_CONFIG="python3-config" + CONF_OPTS="${CONF_OPTS} --enable-python-bindings --enable-python-bindings-doc --enable-python-plugins" + fi ;; esac