aboutsummaryrefslogtreecommitdiffstats
path: root/coin_build_instructions.py
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2021-11-25 16:08:21 +0200
committerSimo Fält <simo.falt@qt.io>2021-12-01 14:48:55 +0000
commite94154f02bf8f93e812dcc4edb633b9fd03331b0 (patch)
tree8c8e8c1874447340ad1783ec92dfaf60c0d908cd /coin_build_instructions.py
parentac4431fcc71f01cde9bd1fd885d42960b869c924 (diff)
Build macOS universal binary
Pick-to: 6.2 Pick-to: 6.2.2 Change-Id: I0a889258ec4f89ca3a26c8bf2ee76f0d5c676a7a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin_build_instructions.py')
-rw-r--r--coin_build_instructions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/coin_build_instructions.py b/coin_build_instructions.py
index ed7055e31..fff680587 100644
--- a/coin_build_instructions.py
+++ b/coin_build_instructions.py
@@ -148,6 +148,9 @@ def call_setup(python_ver, phase):
cmd += ["--build-tests",
"--verbose-build"]
+ if CI_TARGET_ARCH == "X86_64-ARM64":
+ cmd += ["--macos-arch='x86_64;arm64'"]
+
if CI_USE_SCCACHE:
cmd += [f"--compiler-launcher={CI_USE_SCCACHE}"]