Make sure the installation of libiberty.a in the binutils easyblock goes into a populated directory#2308
Make sure the installation of libiberty.a in the binutils easyblock goes into a populated directory#2308
Conversation
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
This should lead to much safer behaviour when dealing with |
|
@zao Can you try this in your VM and see if it fixes the directory structure for binutils? |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @zao Overview of tested easyconfigs (in order)
Build succeeded for 0 out of 1 (1 easyconfigs in total) |
|
While this puts |
|
Urgh, we make a symlink from lib to lib64 but not the other way around, will have to see where that happens |
|
Woo hoo, there is already an option for that |
|
Hmm, that requires a site config though, not sure if it is just better to add both options to the rpath in the first place... |
| # https://github.com/easybuilders/easybuild-easyconfigs/issues/10056 | ||
| # Escaping: Double $$ for Make, \$ for shell to get literal $ORIGIN in the file | ||
| libdirs = [r'\$\$ORIGIN/../lib'] | ||
| libdirs = [r'\$\$ORIGIN/../lib', r'\$\$ORIGIN/../lib64'] |
There was a problem hiding this comment.
@boegel, is there any reason this would be problematic? With this PR one of these will not exist
There was a problem hiding this comment.
Should be fine, we also do this in the RPATH wrappers, see https://github.com/easybuilders/easybuild-framework/blob/a2be0c744985d2fc42468abf91e39deab6d2db3c/easybuild/framework/easyblock.py#L2102
There was a problem hiding this comment.
@ocaisa I think it makes sense to enhance the comment above to clarify why we're linking both lib and lib64 (and including a pointer to easybuilders/easybuild-easyconfigs#11976)
|
Test report by @zao Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (2 easyconfigs in total) |
|
Test report by @ocaisa Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (2 easyconfigs in total) |
| # https://github.com/easybuilders/easybuild-easyconfigs/issues/10056 | ||
| # Escaping: Double $$ for Make, \$ for shell to get literal $ORIGIN in the file | ||
| libdirs = [r'\$\$ORIGIN/../lib'] | ||
| libdirs = [r'\$\$ORIGIN/../lib', r'\$\$ORIGIN/../lib64'] |
There was a problem hiding this comment.
@ocaisa I think it makes sense to enhance the comment above to clarify why we're linking both lib and lib64 (and including a pointer to easybuilders/easybuild-easyconfigs#11976)
138a9c4 to
8a8c413
Compare
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 3 out of 3 (3 easyconfigs in total) |
|
Test report by @zao Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (2 easyconfigs in total) |
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 4 out of 4 (4 easyconfigs in total) |
fixes easybuilders/easybuild-easyconfigs#11976