aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2019-09-09 10:48:29 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2019-09-10 11:06:01 +0300
commit0ab7521d9b78196da947ca07757973dc17843dc7 (patch)
treeaa9e53dac03d172a9a1e510132c4befcf148de45
parentc3d680bf64c4747b22af526acbf121c1ee6044e6 (diff)
coin: use gcc-7 for CI builds
Use older GCC than the current default gcc9 to build all the native components. The qtbase-native build tracks the used GCC version and reusing the build from sstate-cache won't work in a machine with older gcc version. Change-Id: Ie74c35e46bbab80c03e7a190b3f8bf59ccb42ae5 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
-rw-r--r--coin/module_config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index 4bdfd63d..8f6bc582 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -58,6 +58,12 @@ build_instructions:
- type: ChangeDirectory
directory: "{{.BuildDir}}"
- type: ExecuteCommand
+ command: ["sudo", "ln", "-sf", "gcc-7", "/usr/bin/gcc"]
+ userMessageOnFailure: "Could not create link for gcc-7"
+ - type: ExecuteCommand
+ command: ["sudo", "ln", "-sf", "g++-7", "/usr/bin/g++"]
+ userMessageOnFailure: "Could not create link for g++-7"
+ - type: ExecuteCommand
command: ["sudo", "mkdir", "-p", "/mnt/yocto-cache"]
userMessageOnFailure: "Could not create '/mnt/yocto-cache' directory"
- type: ExecuteCommand