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
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-12-02 14:17:42 +0000
commit8f65fe4cd10f71dadbeca7dc6b3da20dce2b96e8 (patch)
treed567136b6d0029d2ce2330c00818c9f4f87e8b0b /coin_build_instructions.py
parenta5e3ff8808feb9fd2a5f398b26b93d70c8bc61f0 (diff)
Build macOS universal binary
Change-Id: I0a889258ec4f89ca3a26c8bf2ee76f0d5c676a7a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit e94154f02bf8f93e812dcc4edb633b9fd03331b0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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}"]