build: !!python/tuple [std]
conf: !!python/tuple [std, static]
- 'babeltrace_{version}_{buildtype}':
- buildtype: macosxbuild
- arch: !!python/tuple [macosx]
+ buildtype: macosbuild
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [std]
- 'babeltrace_{version}_{buildtype}':
build: !!python/tuple [std]
conf: !!python/tuple [std, prod]
- 'babeltrace_{version}_{buildtype}':
- buildtype: macosxbuild
- arch: !!python/tuple [macosx]
+ buildtype: macosbuild
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [std, prod]
- 'babeltrace_{version}_{buildtype}':
conf: !!python/tuple [std, static, prod, min]
filter: '(build=="std" && conf=="std") || (arch=="amd64")'
- 'dev_gerrit_babeltrace_{buildtype}':
- buildtype: macosxbuild
- arch: !!python/tuple [macosx]
+ buildtype: macosbuild
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [std, prod]
filter: ''
build: !!python/tuple [std, oot, dist, oot-dist]
conf: !!python/tuple [std, static, python-bindings]
- 'dev_{user}_babeltrace_{version}_{buildtype}':
- buildtype: macosxbuild
- arch: !!python/tuple [macosx]
+ buildtype: macosbuild
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [std]
build: !!python/tuple [std, oot, dist, oot-dist]
conf: !!python/tuple [std, static, prod, min]
- 'dev_{user}_babeltrace_{version}_{buildtype}':
- buildtype: macosxbuild
- arch: !!python/tuple [macosx]
+ buildtype: macosbuild
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [std, prod]
build: !!python/tuple [std]
conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
- 'liburcu_{version}_{buildtype}':
- buildtype: macosxbuild
- arch: !!python/tuple [macosx]
+ buildtype: macosbuild
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
- conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
+ conf: !!python/tuple [std]
- 'liburcu_{version}_winbuild':
arch: !!python/tuple [cygwin64]
build: !!python/tuple [std]
- job-template:
- name: lttng-scope_{version}_macosxbuild
+ name: lttng-scope_{version}_macosbuild
defaults: lttng-scope
project-type: matrix
# arch: !!python/tuple [i386, amd64]
# - 'lttng-scope_{version}_winbuild':
# arch: !!python/tuple [win64]
-# - 'lttng-scope_{version}_macosxbuild':
-# arch: !!python/tuple [macosx]
+# - 'lttng-scope_{version}_macosbuild':
+# arch: !!python/tuple [macos]
# - 'lttng-scope_{version}_coverity':
# version: master
testtype: !!python/tuple [base]
filter: ''
- 'lttng-tools_{version}_{buildtype}':
- buildtype: macosxbuild
+ buildtype: macosbuild
version: master
ustversion: master
- arch: !!python/tuple [macosx]
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [master]
testtype: !!python/tuple [base]
filter: ''
- 'lttng-tools_{version}_{buildtype}':
- buildtype: macosxbuild
+ buildtype: macosbuild
version: stable-2.12
ustversion: stable-2.12
- arch: !!python/tuple [macosx]
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [stable-0.12]
testtype: !!python/tuple [base]
filter: ''
- 'lttng-tools_{version}_{buildtype}':
- buildtype: macosxbuild
+ buildtype: macosbuild
version: stable-2.11
ustversion: stable-2.11
- arch: !!python/tuple [macosx]
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [stable-0.10]
testtype: !!python/tuple [base]
filter: ''
- 'lttng-tools_{version}_{buildtype}':
- buildtype: macosxbuild
+ buildtype: macosbuild
version: stable-2.10
ustversion: stable-2.10
- arch: !!python/tuple [macosx]
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [stable-0.9]
testtype: !!python/tuple [base]
filter: ''
- 'dev_{user}_lttng-tools_{version}_{buildtype}':
- buildtype: macosxbuild
+ buildtype: macosbuild
version: master-staging
ustversion: master
- arch: !!python/tuple [macosx]
+ arch: !!python/tuple [macos-amd64, macos-arm64]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [master]
export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
;;
-macosx)
+macos*)
export MAKE=make
export TAR=tar
export NPROC="getconf _NPROCESSORS_ONLN"
# Set configure options and environment variables for each build
# configuration.
CONF_OPTS=("--prefix=$PREFIX")
+
+# -Werror is enabled by default in stable-2.0 but won't be in 2.1
+# Explicitly disable it for consistency.
+if vergte "$PACKAGE_VERSION" "2.0"; then
+ CONF_OPTS+=("--disable-Werror")
+fi
+
case "$conf" in
static)
echo "Static lib only configuration"
export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
;;
-macosx)
+macos*)
export MAKE=make
export TAR=tar
export NPROC="getconf _NPROCESSORS_ONLN"
RUN_TESTS="no"
;;
-macosx)
+macos*)
export MAKE=make
export TAR=tar
export NPROC="getconf _NPROCESSORS_ONLN"