-
Notifications
You must be signed in to change notification settings - Fork 47
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
When building with intel
or oneapi
or ... as preferred compiler, use gcc
for building cmake
?
#1514
Comments
Hmm... What system(s) is this on? |
an NRL system |
Have tried a build with That said, building with I've run into a couple of other cases where one of |
I was able to fix the bug, and it was not straightforward. If you ever see this when trying to build
Then check if your The question remains, however. There is no reason to build |
Fair and valid point. |
I'm openminded, but just based on my experience of adding gcc-built one-offs into intel envs (namely, the way in which various deps can quietly switch to gcc), I would tend to lean toward applying this on specific systems unless/until we identify it as a wider spread issue. It might also depend on why NFS is a problem, i.e., if it's because of some issue with creating temporary files used in the compiler checks or whatever, then maybe the "real" solution is to not put build_stage in NFS dirs. |
I am ok either way now that I resolved this, but with the appropriate use of The NFS bug is documented for cmake ("buried somewhere" may be more appropriate) and is a problem regardless of the system. The solution is to change the build_stage location. This only came up because the machine lost its GPFS in a power outage and is working off an NFS mount until the GPFS is restored. |
Yeah, I can see some of the discussion about the issue. Looking at that, I get the impression that running CMake on NFS could conceivably lead to incorrect builds but that didn't fail-- maybe not a huge risk, but probably an argument for avoiding building on NFS (which I think will be relevant for some of our contrib-space installations...). |
The intel compiler does require |
Is your feature request related to a problem? Please describe.
I am getting weird build failures for
[email protected]
with the latest[email protected]
. Sincecmake
is simply a build tool that is not linked to any code we compile, I am wondering if we should buildcmake
withgcc
when the preferred compiler is in this list:I would prefer to build
cmake
with the preferred compiler when the preferred compiler is any of:Am I missing a compiler? Comments? Suggestions?
Describe the solution you'd like
See above
Additional context
n/a
The text was updated successfully, but these errors were encountered: