-
Notifications
You must be signed in to change notification settings - Fork 8
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
-fmax-errors
not support by clang
#315
Comments
Good catch---we should add a clang build to our CI... In the meantime, @mauneyc-LANL, @rbberger and/or @dholladay00 maybe we add that in with a generator expression for non-clang builds only? |
This is my fault. Usually when developing I put this in so that I have a reasonable shot of locating the compiler error before my terminal burns through main memory printing out 1000s of incomplete template noise. We should really just remove it altogether; any objections? @Yurlungur @dholladay00 @rbberger |
None---let's just remove it. Thanks, @mauneyc-LANL |
We should use the intel compilers in our CI if we arn't already, too |
Yeah @dholladay00 brought that up recently. I think he's working on making that happen. |
I am fixing some issues with intel builds, but I haven't put in an intel build in our CI. I think that would require additional spacks buildouts and interacting with the project space in ways I am not very familiar with. Perhaps @ktsai7 or @rbberger could look into adding such a thing to our CI or replacing a current gnu build with an intel. |
@dholladay00 sure, we can add an intel CI job, but do we want a new CI job or replace an existing one? Which intel compiler? |
@ktsai7 I'm looking and there are several gnu Skylake tests. I'd say replace |
I'm fine with either way, but I do need to know which intel compiler do you want to use? |
@ktsai7 @dholladay00 we should be using the oneAPI compilers (classic intel C/C++ compilers are losing support), but there's still broad downstream use of classic compilers. The oneAPI compilers use a clang frontend, so having a compile with just a |
https://github.com/lanl/singularity-eos/blob/main/CMakeLists.txt#L449 unconditionally adds
-fmax-errors=3
which leads to the following warning:The text was updated successfully, but these errors were encountered: