Make matching component sources in Bundle easyblock more reliable#3778
Make matching component sources in Bundle easyblock more reliable#3778Flamefire wants to merge 1 commit intoeasybuilders:developfrom
Conversation
bc75ff2 to
882177c
Compare
|
Regarding
easybuilders/easybuild-easyconfigs#21582 sets two sources for the Intel compilers. However, if I understand correctly, |
Yes it is used for patches and for I feel like we need a new Bundle easyblock which fixes all the quirks of the current one:
It looks like you can just put an easyconfig into a component and it would work as-if standalone but it doesn't in subtile ways due to this. And I don't see a way to fix it which would be backwards compatible. So this PR just reduces chances for one surprise |
|
I think we're slowly but surely finding out which parts of the Bundle EasyBlock are broken. I agree, that maybe starting a new Bundle EasyBlock rewriting everything from the ground up might be needed to fix all of these lingering issues. This will take quite some time, and until then, trying to fix or work around the existing issues is a good idea... |
As for I propose to disallow easyblocks overwriting |
882177c to
81e9f42
Compare
81e9f42 to
029d1f8
Compare
029d1f8 to
5524e2e
Compare
Store where sources have been added to get the corresponding filled structure without relying on partially resolved templates.
5524e2e to
26ba84a
Compare
Store where sources have been added to get the corresponding filled structure without relying on partially resolved templates.
Also do not fetch component patches twice
I've also move some stuff around to make the structure clearer:
fetch_stepnow fetches patches instead of doing that (again) in the install stepEasyBlockNote that this manual setting of
finalpathisn't logically correct asstart_dirof a component could be the builddir or the extracted source of some componentguess_start_dirwill always get the builddir (due to no sources present), potentially with a suffix as specified in the easyconfigs which many do (asfoo-1.2.3) because the extracted source isn't available and thefinalpathfor the 2nd component and all following is wrong until easybuilders/easybuild-framework#4922But I don't see how to fix this without breaking existing easyconfigs and easyblocks.