Use x64 native compiler for Windows MSVC #3814
Unanswered
TonyXiang8787
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that
setuptools
uses theHostX86\x64
cross MSVC compiler in Windows. After some research I find the following code segment in_msvccompiler.py
I can understand the default behavior is to choose
x86
cross compiler. But there seems to be no way to go around it and specify that I want nativex64
compiler. I tried to do this at the beginning ofsetup.py
, but it does not work. It still use the cross compiler.Sometimes we hit memory limit of
x86
compiler so we have to use nativex64
compiler. But how can we do this? Maybe we can add an option to let the user to set the preferred compiler?Beta Was this translation helpful? Give feedback.
All reactions