Uh oh!
There was an error while loading. Please reload this page.
Fix the use of MSVC in an MSYS environment - #2087
Conversation
MonkeyBreaker
commented
Jan 20, 2020
I confirm that it now work's on my side Great ! |
wjakob
commented
Jan 20, 2020
Shouldn't |
@wjakob I agree, I made the condition like this to allow more compilers than MSVC only. |
kanonet
commented
Jan 21, 2020
I can confirm, that this does work for me with MSYS2+MinGW. I think this is good as you wrote it, this way it does only change behavior for Msys+MinGW. Did someone test MinGW without MSYS? |
I did and it works. Actually I made PR #2048 because I'm using MinGW alone. Now every configuration should be OK. |
MonkeyBreaker
commented
Jan 22, 2020
Hi ! Any idea when this PR will be merged on master ? |
wjakob
commented
Jan 22, 2020
Merged! |
wjakob
commented
Jan 22, 2020
Thanks for tracking this down :) |
MonkeyBreaker
commented
Jan 22, 2020
Thank you ! |
After fixpybind/pybind11#2087, windows wheel should be able to compile again Signed-off-by: julian <julian.burellaperez@heig-vd.ch>
Since MSVC can also be used in an MSYS environment (for example the one provided with Git for Windows), we also need to check if the MinGW compiler is used alongside the
MSYSTEMenvironment variable. This expand the MSYS check made in PR #2053@MonkeyBreaker Could you check that this fixes your issue?
@kanonet Could you check as well that pybind11 + MSYS still work in your cases?
Fix#2079