Chris Eibl
Chris Eibl
AFAIR this means it is compiling in 323bit mode. Try adding `-m64`. See https://github.com/python/cpython/pull/129907/commits/263870dd319e79170f42fc5e05beb3879effff7b. Interesting, according to https://github.com/python/cpython/commit/d8a1cf469e40b538a84e583ac1d5d34418ed9a6a this should be part of [v3.14.0a6](https://github.com/python/cpython/releases/tag/v3.14.0a6)
But I see it is passed e.g. here: ``` -flto=thin -m64 -Wno-deprecated-non-prototype -Wno-unused-label -Wno-pointer-sign -Wno-incompatible-pointer-types-discards-qualifiers -Wno-unused-function "..\Modules\_heapqmodule.c" ``` but not here ``` /Z7 /nologo /W3 /WX- /diagnostics:column /O2 /Oi /D...
Try adding "/p:PreferredToolArchitecture=x64". Before https://github.com/python/cpython/commit/263870dd319e79170f42fc5e05beb3879effff7b that was the trick that did it for me. Maybe it is still needed, although I back then did not need it anymore. That was...
Interestingly, I can reproduce on cpython main and alpha6. I cannot build without `"/p:PreferredToolArchitecture=x64"` anymore, too. Weird, but I have an idea. Need some sleep though now :)
Ok, I've dug deeper this time - please see https://github.com/python/cpython/issues/131473 for details. Regarding the `*.exp` file: most probably the gold linker does not write that, I did not find anything...
Regarding `range`, please see also https://github.com/python/cpython/issues/125897.
> activating MSVC via vcvars.bat will put LLVM tools on the PATH I think this is the same problem I've faced in https://github.com/python/cpython/issues/141967#issuecomment-3590066265, so thanks for doing this! I've noticed...
`LLVMInstallDir` is the variable documented here https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170 which we already use at various places like https://github.com/python/cpython/blob/8801c6dec79275e9b588ae03e356d8e7656fa3f0/PCbuild/python.props#L23-L31 https://github.com/python/cpython/blob/8801c6dec79275e9b588ae03e356d8e7656fa3f0/PCbuild/pyproject-clangcl.props#L31 https://github.com/python/cpython/blob/8801c6dec79275e9b588ae03e356d8e7656fa3f0/PCbuild/readme.txt#L69-L73 Does that mean that we have to specify the additional `LLVM_TOOLS_INSTALL_DIR` variable...
IIUC, you mean setting `LLVMInstallDir` and `LLVMToolsVersion` based on `LLVM_TOOLS_INSTALL_DIR` and `LLVM_VERSION`? I think it might be "too late", since AFAIR internally this is used by MS when preparing the...
First I thought we have these choices: 1. do nothing, i.e. allow people specifying `LLVMInstallDir` the "regular" way to determine the clang-cl used for compiling Python and `LLVM_TOOLS_INSTALL_DIR` to specify...