conditionally add -Wno-unused-command-line-argument to $CFLAGS to fix error when installing imkl-FFTW with RPATH#2975
Conversation
|
Test report by @casparvl Overview of tested easyconfigs (in order)
Build succeeded for 11 out of 23 (8 easyconfigs in total) |
|
Ugh, I'm getting failures because I'm exceeding my inode quotum... Will cleanup first, then retry... |
| # Avoid unused command line arguments (-Wl,rpath...) causeing errors when using RPATH | ||
| # See https://github.com/easybuilders/easybuild-easyconfigs/pull/18439#issuecomment-1662671054 | ||
| if build_option('rpath'): | ||
| cflags = flags + ' -Wno-unused-command-line-argument' |
There was a problem hiding this comment.
This option is probably only supported for Intel oneAPI (Clang-based) compilers, so this needs an extra condition?
There was a problem hiding this comment.
Had some discussion on Slack. This is correct: it's supported by Clang-based compilers. Hence we should limit it to those. The problem that I'm trying to address in this PR should also only occur for Clang based compilers (that's why we haven't run into it with prior versions if imkl-fftw: we didn't use the oneAPI compilers yet by default there).
|
Test report by @casparvl Overview of tested easyconfigs (in order)
Build succeeded for 16 out of 16 (8 easyconfigs in total) |
Arrggg, why do I have such a terrible memory, I even commented in that issue... So, @bedroge @boegel any preference? @bedroge 's approach is a bit more targetted. That has the advantage that we know this change has to be made for The downside is there was some issue with |
-Wno-unused-command-line-argument to $CFLAGS to fix error when installing imkl-FFTW with RPATH
|
The approach takes in #2912 highlight a problem with |
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 11 out of 11 (11 easyconfigs in total) |
Fix for easybuilders/easybuild-easyconfigs#18439 (comment) which pops up as: