jjb: Update MacOS jobs for Big Sur and arm64
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 28 Jan 2021 18:11:16 +0000 (13:11 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 28 Jan 2021 18:11:16 +0000 (13:11 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml
jobs/liburcu.yaml
jobs/lttng-scope.yaml
jobs/lttng-tools.yaml
scripts/babeltrace/build.sh
scripts/liburcu/build.sh
scripts/lttng-tools/build.sh

index ca6f33961a1b0d73b28b6d93f9f223e9e9bd96da..a263c88a90a4b17798d8fa9a8697d5b663418367 100644 (file)
           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]
 
index 7a7541ef45dd6fe20133f7a0c3fe40b90dc6d50d..bc8d95d6aec8da86a5ffc5172830ab3b0ddebc5c 100644 (file)
           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]
index b7eaf3d8ec2918d0206735f987f5f530d2b70247..4c4c2945cfd94f871885c60b8a9e2c0cbea59bf4 100644 (file)
 
 
 - 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
index 98f887f4b143f89d1ddf490d2a0ad40b5f6897ff..d71fb80547b52abb748be61d89876e22f38c3ca8 100644 (file)
           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]
index 8fe9fd8e4ded5dacf26f3fdaa91421a0e18ade81..614062ae72a3162c3e55866946a4dfc86ec4c5ce 100755 (executable)
@@ -188,7 +188,7 @@ sol11-i386)
     export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
     ;;
 
-macosx)
+macos*)
     export MAKE=make
     export TAR=tar
     export NPROC="getconf _NPROCESSORS_ONLN"
@@ -252,6 +252,13 @@ export BABELTRACE_MINIMAL_LOG_LEVEL=TRACE
 # 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"
index b589d4bb0e6925b63670e101f9cb3019f5a9c16f..ed976297c1f41af719bde137732ac62f0dee9776 100755 (executable)
@@ -189,7 +189,7 @@ sol11-i386)
     export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
     ;;
 
-macosx)
+macos*)
     export MAKE=make
     export TAR=tar
     export NPROC="getconf _NPROCESSORS_ONLN"
index 394575c1cb162ffd25332a6ad753cca881f707f4..caa48f5c8f6476b901eb99eced5497100e9d0b2a 100755 (executable)
@@ -225,7 +225,7 @@ sol11-i386)
     RUN_TESTS="no"
     ;;
 
-macosx)
+macos*)
     export MAKE=make
     export TAR=tar
     export NPROC="getconf _NPROCESSORS_ONLN"
This page took 0.02778 seconds and 4 git commands to generate.