You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From msys2/MINGW-packages#20569
cmake attempts to verify that python is targeting arm with the following:
execute_process (COMMAND${launcher}"${_${_PYTHON_PREFIX}_EXECUTABLE}" -c
"import sys, sysconfig; sys.stdout.write(sysconfig.get_platform())"RESULT_VARIABLE result
OUTPUT_VARIABLE platform
ERROR_QUIETOUTPUT_STRIP_TRAILING_WHITESPACE)
string(TOUPPER"${platform}" platform)
if (result OR ((target_arm ANDNOT platform MATCHES"ARM") OR
(NOT target_arm AND platform MATCHES "ARM")))
# interpreter not usable or has wrong architecture
In the case of this fork, sysconfig.get_platform() returns mingw_aarch64, not mingw_arm64 or something similar. I'm not sure whether this should be patched here (probably as part of the 3.12 update), or in cmake (to check for MATCHES "ARM|AARCH" instead) but I wanted to open an issue for it here so it wouldn't be forgotten for 3.12
The text was updated successfully, but these errors were encountered:
ok, then this issue can just be to decide if we want to take the opportunity to switch the platform to contain arm or rely on continuing to patch cmake.
From msys2/MINGW-packages#20569
cmake attempts to verify that python is targeting arm with the following:
In the case of this fork,
sysconfig.get_platform()
returnsmingw_aarch64
, notmingw_arm64
or something similar. I'm not sure whether this should be patched here (probably as part of the 3.12 update), or in cmake (to check forMATCHES "ARM|AARCH"
instead) but I wanted to open an issue for it here so it wouldn't be forgotten for 3.12The text was updated successfully, but these errors were encountered: