On Fri, 2020-05-29 at 10:26 +0200, Sumit Jamgade wrote:
Hello,
Long running compilation can now leverage ccache[1] to speed up the build process. This feature can be enabled per package in the project config:
BuildFlags: useccahe:<packagename> example: https://build.opensuse.org/projects/home:sjamgade:branches:science:machinele...
Once enabled per package, it will be enabled for all architectures and repositories. https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.prjconfig.h... (grep ccache)
Thanks, Sumit and folks working on OBS. This is a great feature! Does one need to add a BuildRequires: ccache in the spec file as well? Simply enabling the prjconf flags don't seem to do the trick in my tests for the dealii package in a branch project: <https://build.opensuse.org/package/show/home:badshah400:branches:science/dealii> I have set the following variables in the project's config: BuildFlags: useccache:dealii BuildFlags: useccache:dealii:openmpi2 BuildFlags: useccache:dealii:openmpi3. This is despite a couple of successful, changed builds after setting the prjconf. I noticed that you also have a BuildRequires: ccache in the spec file for the tensorflow package you referenced, for example, but the documentation says "Ccache package will be automatically installed and configured". So I am a little confused. Thanks and best wishes, -- Atri Bhattacharya Sat 30 May 18:34:25 CEST 2020 Sent from openSUSE Tumbleweed on my laptop. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org