summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorTero Heikkinen <tero.heikkinen@qt.io>2023-11-24 15:00:16 +0200
committerTero Heikkinen <tero.heikkinen@qt.io>2023-12-18 20:00:44 +0200
commit8dffb3c5e3cf419d8428b09d433d199e5dbff904 (patch)
tree0b295e7f0d00e4b585dcb62cf609778dae3a31fb /coin
parent0bf7d64ebdff44586f9023e811b2b4fd3142ca57 (diff)
Coin: Add native MSVC ARM64 instructions
Task-number: QTQAINFRA-5855 Pick-to: 6.7 6.6 Change-Id: I95a3b5f44c2513becb0bdbd5f56c0a5e36e889d9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Toni Saario <toni.saario@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/prepare_building_env.yaml23
1 files changed, 20 insertions, 3 deletions
diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml
index b689eb34c7..2cf7740b01 100644
--- a/coin/instructions/prepare_building_env.yaml
+++ b/coin/instructions/prepare_building_env.yaml
@@ -133,9 +133,26 @@ instructions:
variableName: TARGET_ARCHITECTURE
variableValue: x64_arm64
enable_if:
- condition: property
- property: target.arch
- equals_value: ARM64
+ condition: and
+ conditions:
+ - condition: property
+ property: target.arch
+ equals_value: ARM64
+ - condition: property
+ property: host.arch
+ equals_value: X86_64
+ - type: EnvironmentVariable
+ variableName: TARGET_ARCHITECTURE
+ variableValue: arm64
+ enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: target.arch
+ in_values: ["AARCH64", "ARM64"]
+ - condition: property
+ property: host
+ equals_property: target
- type: EnvironmentVariable
# HACK. Overwrite TARGET_ARCHITECTURE as we do not use standard MSVC cross
# compilation targets here. The target architecture will be detected by Qt.