From 0ab7521d9b78196da947ca07757973dc17843dc7 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 9 Sep 2019 10:48:29 +0300 Subject: 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 --- coin/module_config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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 @@ -57,6 +57,12 @@ build_instructions: directory: "{{.BuildDir}}" - 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" -- cgit v1.2.3