|
@@ -1,8 +1,9 @@
|
|
def can_build(env, platform):
|
|
def can_build(env, platform):
|
|
- # Supported architectures depend on the Embree library.
|
|
|
|
|
|
+ # Supported architectures and platforms depend on the Embree library.
|
|
|
|
+ if env["arch"] == "arm64" and platform == "windows":
|
|
|
|
+ return False
|
|
if env["arch"] in ["x86_64", "arm64", "wasm32"]:
|
|
if env["arch"] in ["x86_64", "arm64", "wasm32"]:
|
|
return True
|
|
return True
|
|
- # x86_32 only seems supported on Windows for now.
|
|
|
|
if env["arch"] == "x86_32" and platform == "windows":
|
|
if env["arch"] == "x86_32" and platform == "windows":
|
|
return True
|
|
return True
|
|
return False
|
|
return False
|