-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: