We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70287f6 commit 5a7d8f4Copy full SHA for 5a7d8f4
src/scikit_build_core/builder/sysconfig.py
@@ -109,8 +109,14 @@ def get_platform(env: Mapping[str, str] | None = None) -> str:
109
env = os.environ
110
if sys.platform.startswith("win"):
111
if "VSCMD_ARG_TGT_ARCH" in env:
112
+ logger.debug(
113
+ "Selecting {} or {} due to VSCMD_ARG_TARGET_ARCH",
114
+ TARGET_TO_PLAT.get(env["VSCMD_ARG_TGT_ARCH"]),
115
+ get_host_platform(),
116
+ )
117
return TARGET_TO_PLAT.get(env["VSCMD_ARG_TGT_ARCH"]) or get_host_platform()
118
if "arm64" in env.get("SETUPTOOLS_EXT_SUFFIX", "").lower():
119
+ logger.debug("Windows ARM targeted via SETUPTOOLS_EXT_SUFFIX")
120
return "win-arm64"
121
return get_host_platform()
122
0 commit comments