summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-15 19:17:41 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-12-16 19:44:13 +0100
commitcc6185fb2b3d5df433aaf69fb6596c55f2361ba3 (patch)
tree66df406ad19c4f1dec3243efb113ea97c1dfcfca /coin
parent4aea86f5e8f4533a2a7ca9d7c21da8f81118c631 (diff)
coin: Fix sccache to be used when cross-compiling tests
Was likely an oversight. Amends 9f559699cc5dbba9ef8e6da06d2ed48a8b6729a6 Pick-to: 6.2 6.3 Change-Id: I13c2e4cc32e68c1ce98f59a932e3448250b0679b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/prepare_building_env.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml
index c4d7b2bf59..167cf81a72 100644
--- a/coin/instructions/prepare_building_env.yaml
+++ b/coin/instructions/prepare_building_env.yaml
@@ -370,12 +370,16 @@ instructions:
- type: AppendToEnvironmentVariable
variableName: TEST_CONFIGURE_ARGS
variableValue: " -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
+
- type: AppendToEnvironmentVariable
variableName: TARGET_CONFIGURE_ARGS
variableValue: " -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
- type: AppendToEnvironmentVariable
variableName: NON_QTBASE_TARGET_CONFIGURE_ARGS
variableValue: " -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
+ - type: AppendToEnvironmentVariable
+ variableName: TARGET_TEST_CONFIGURE_ARGS
+ variableValue: " -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
enable_if:
condition: property
property: features