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
commit 35af2b0edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"]