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
XHOST detection fails #2023
Comments
Since the problem is that CMake is not detecting the proper flags, this issue also affects all the other options
|
What compiler is this? Perhaps it has an option |
From the man page
so yes, looks like |
That's annoying of GCC. The other flags (enable_code_coverage through enable_msan) aren't necessarily affected, right? |
Yes, that's true. However, the test program failed to build with |
The underlying cmake cmd is checking for a compiler error code, not compilation failure. I'm confused as to why this is appearing now, as the |
Ok, the only non-invasive way I see around this is the below in the main CM file (change primary language as needed):
For Intel, I observed another problem that when conda compilers are present and |
Running CMake on my laptop with Fedora 32 results in
CMakeError.log is
making it seem that the CMake files aren't even testing the flags.
If I change the order in CMakeLists.txt so that
-march=native
comes first, the output is correct:The text was updated successfully, but these errors were encountered: