|
From: | Thomas Huth |
Subject: | Re: Serious doubts about Gitlab CI |
Date: | Wed, 31 Mar 2021 09:54:38 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
On 30/03/2021 15.19, Daniel P. Berrangé wrote:
On Tue, Mar 30, 2021 at 01:55:48PM +0200, Thomas Huth wrote:On 30/03/2021 13.19, Daniel P. Berrangé wrote:
[...]
ccache is a no-brainer and assuming it isn't already working with our gitlab jobs, we must fix that asap.I've found some nice instructions here: https://gould.cx/ted/blog/2017/06/10/ccache-for-Gitlab-CI/ ... and just kicked off a build with these modifications, let's see how it goes...Yep, that looks similar to what we do in libvirt, though we don't override the compiler at the job level. Instead we just ensure the dir containing ccache symlinks appears first in $PATH.
That's of course a nice idea, too, but it does not seem to work with the clang builds:
https://gitlab.com/thuth/libvirt/-/jobs/1142239591#L3780 https://gitlab.com/thuth/libvirt/-/jobs/1142239581#L3738 Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |