summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c3accd9)
The bt2 test suite is mostly useless without the python bindings,
build them by default in the 'std' config on all platforms and add
a 'min' config on the linux job to test this scenario. Remove the
'python-bindings' config for bt2 since it's now part of the default.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
buildtype: build
arch: !!python/tuple [amd64]
build: !!python/tuple [std, oot, dist]
buildtype: build
arch: !!python/tuple [amd64]
build: !!python/tuple [std, oot, dist]
- conf: !!python/tuple [std, static, python-bindings, production]
+ conf: !!python/tuple [std, static, prod, min]
- 'babeltrace_{version}_{buildtype}':
buildtype: portbuild
arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
build: !!python/tuple [std]
- 'babeltrace_{version}_{buildtype}':
buildtype: portbuild
arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
build: !!python/tuple [std]
- conf: !!python/tuple [std, python-bindings]
+ conf: !!python/tuple [std, prod]
- 'babeltrace_{version}_{buildtype}':
buildtype: slesbuild
arch: !!python/tuple [sles12sp2]
build: !!python/tuple [std]
- 'babeltrace_{version}_{buildtype}':
buildtype: slesbuild
arch: !!python/tuple [sles12sp2]
build: !!python/tuple [std]
- conf: !!python/tuple [std]
+ conf: !!python/tuple [std, prod]
- 'babeltrace_{version}_{buildtype}':
buildtype: macosxbuild
arch: !!python/tuple [macosx]
build: !!python/tuple [std]
- 'babeltrace_{version}_{buildtype}':
buildtype: macosxbuild
arch: !!python/tuple [macosx]
build: !!python/tuple [std]
- conf: !!python/tuple [std, python-bindings, production]
+ conf: !!python/tuple [std, prod]
- 'babeltrace_{version}_{cctype}':
cctype: clangbuild
arch: !!python/tuple [amd64]
build: !!python/tuple [std]
- 'babeltrace_{version}_{cctype}':
cctype: clangbuild
arch: !!python/tuple [amd64]
build: !!python/tuple [std]
- conf: !!python/tuple [std, static]
+ conf: !!python/tuple [std, static, prod]
cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
- 'babeltrace_{version}_winbuild':
arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
- 'babeltrace_{version}_winbuild':
arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
CONF_OPTS="${CONF_OPTS} --enable-python-bindings-doc --enable-python-plugins"
fi
;;
CONF_OPTS="${CONF_OPTS} --enable-python-bindings-doc --enable-python-plugins"
fi
;;
echo "Production build"
# Unset the developper variables
echo "Production build"
# Unset the developper variables
export PYTHON_CONFIG="python3-config"
CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc --enable-python-plugins"
;;
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=""
*)
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