-
Notifications
You must be signed in to change notification settings - Fork 49
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
How to use gcc compiler on Github windows runners with microsoft visual studio installed #822
Comments
Hmm, I would have thought that would work. You don't need CIBW_ENVIRONMENT_WINDOWS, you can just set the env vars directly. I'm not sure how well gcc works instead of MSVC when you are targeting the normal Windows CPython, it's not been officially supported since something like Python 3.3 from what I remember. Do you have MinGW installed, though? In our tests (which build with the mingw, etc versions of Python), we have to install it: scikit-build-core/.github/workflows/ci.yml Lines 216 to 303 in 8e892ce
|
I'm using scikit-build-core to build my c++ program on github windows runners. I would like to use gcc instead of microsoft visual studio as the compiler. Below is how I configure compiler settings in my program, but it does not work (see the log, MSVS was used)
Github workflow file
pyproject.toml file
The text was updated successfully, but these errors were encountered: