-
Notifications
You must be signed in to change notification settings - Fork 137
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
libpgmath build fails on windows #1373
Comments
Hi, As far as I see the CMake hasn't picked up your clang-cl compiler setting, and cl.exe is used instead. CL is not supported in Flang project. CMake will select VS generator automatically in Windows platform, the VS generators don't use CMAKE_C/CXX_COMPILER variables. You should set the generator explicitly for example '-G Ninja' in command line to use clang-cl. |
After explicitly changing the generator, it is taking clang-cl as compiler but failing at a later point
|
It could be a native tools configuration issue, please make sure about you're using x64 native tools command prompt. |
I'm using x64 Native Tools Command Prompt for VS 2022 to run all the commands. Still facing the issues. |
I'm following this link to build flang for windows and facing build issues during libpgmath build. Any idea on this?
cmake command:
Errors:
The text was updated successfully, but these errors were encountered: