From 71ceb878544a51c5e518641cd366ddcdc73ed8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Thu, 25 Nov 2021 16:08:21 +0200 Subject: Build macOS universal binary Change-Id: I0a889258ec4f89ca3a26c8bf2ee76f0d5c676a7a Reviewed-by: Alexandru Croitor (cherry picked from commit e94154f02bf8f93e812dcc4edb633b9fd03331b0) Reviewed-by: Qt Cherry-pick Bot --- coin/instructions/common_environment.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'coin/instructions/common_environment.yaml') diff --git a/coin/instructions/common_environment.yaml b/coin/instructions/common_environment.yaml index fcbd97455..de83714e5 100644 --- a/coin/instructions/common_environment.yaml +++ b/coin/instructions/common_environment.yaml @@ -163,3 +163,12 @@ instructions: - type: EnvironmentVariable variableName: LLVM_INSTALL_DIR variableValue: "{{.Env.LLVM_DYNAMIC_LIBS_100}}" + disable_if: + condition: and + conditions: + - condition: property + property: target.arch + equals_value: X86_64-ARM64 # When target arch is universal binary, we can use the default libclang + - condition: property + property: host.os + equals_value: MacOS -- cgit v1.2.3