Hello, On 5/30/20 6:47 PM, Atri Bhattacharya wrote:
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 correct. Nothing more is required.
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.
Yes the ccache package will be automatically added as a buildrequires The problem is https://build.opensuse.org/projects/science/prjconf is missing a %endif. Since prjconf is inherited your prjconf becomes part of an conditionally ignored branch. Someone with appropriate rights should be able to quickfix it. Regards Sumit -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org