I think I understand. I am sorry for the FAD. I was experiencing this sstate mismatch on the dunfell branch that does not contain the 'XZ_THREADS[vardepvalue] = "1"' change. This is probably why I attempted my change in the hash exclude list and then tried to "port it forward to master". I appreciate everyone taking the time to explain. I am still a little confused why calculating every rpm task signature with a value of 1 is acceptable, but ignoring the variable in the signature is not. Are these not different implementations of the same thing?
Thanks, Wes L On Mon, Aug 22, 2022 at 9:17 AM Peter Kjellerstedt < [email protected]> wrote: > > -----Original Message----- > > From: [email protected] <openembedded- > > [email protected]> On Behalf Of Richard Purdie > > Sent: den 22 augusti 2022 13:19 > > To: Quentin Schulz <[email protected]>; Wes Lindauer > > <[email protected]>; [email protected] > > Subject: Re: [OE-core][PATCH] bitbake.conf: Add resource vars to hash > > ignore list > > > > On Mon, 2022-08-22 at 11:28 +0200, Quentin Schulz wrote: > > > Hi Wes, > > > > > > On 8/22/22 06:59, Wes Lindauer wrote: > > > > It should not matter what xz/zstd parallelism and resource usage is > set to > > > > when determining hash signatures. This allows sharing more sstate > across > > > > host machines with different CPU configurations. > > > > > > > > > > It seems like it does matter in some ways, c.f.: > > > > https://git.openembedded.org/openembedded-core/commit/?id=0296dc71c01d1b7953d74ef37d56429e2f4fcfab > > > and > > > > https://git.openembedded.org/openembedded-core/commit/?id=e72c0b94554a9bc293844ec2bddb0c04ea19791d > > > > As Quentin mentions, the value does matter. In particular, those > > compiled with a single thread differ to those with multiple threads. As > > such the proposed patch can't be accepted. > > > > Cheers, > > > > Richard > > Isn't the problem of varying XZ_THREAD/ZSTD_THREAD vs taskhashes > already taken care of by having: > > XZ_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" > XZ_THREADS[vardepvalue] = "1" > XZ_DEFAULTS ?= "--memlimit=${XZ_MEMLIMIT} --threads=${XZ_THREADS}" > XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS" > ZSTD_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" > ZSTD_THREADS[vardepvalue] = "1" > > in bitbake.conf. > > //Peter > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#170087): https://lists.openembedded.org/g/openembedded-core/message/170087 Mute This Topic: https://lists.openembedded.org/mt/93175519/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
