Merge pull request #64921 from bruvzg/win_arm

[Windows] Improve build environment detection, add support for Windows on ARM.
This commit is contained in:
Rémi Verschelde
2022-08-27 18:46:54 +02:00
committed by GitHub
8 changed files with 310 additions and 115 deletions

View File

@@ -1,5 +1,8 @@
def can_build(env, platform):
# Depends on Embree library, which only supports x86_64 and arm64.
if platform == "windows":
return env["arch"] == "x86_64" # TODO build for Windows on ARM
return env["arch"] in ["x86_64", "arm64"]