-
Notifications
You must be signed in to change notification settings - Fork 191
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
Fix OptimizerHacks for clang 17 #5823
Conversation
src/Utilities/OptimizerHacks.cpp
Outdated
&& __clang_major__ < 17 && defined(__GLIBCXX__) | ||
#include <string> | ||
// clang v15+ fails to instantiate the following std library templates if |
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.
Update code comment as well?
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.
It works with clang 16 without the hack now, so this is probably a change in SpECTRE, not a change in clang. I'd delete the whole section and see if it breaks for anyone.
Edit: Clang 15 fails to compile for unrelated reasons. (Duplicate Composition
instantiations)
It seems like we don't need this anymore
Okay, deleted the code block. Thanks for reviewing! |
works for me |
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.
Good enough for me
Proposed changes
Upgrade instructions
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.Further comments