2021-04-20 18:40:24 +02:00
|
|
|
def can_build(env, platform):
|
2024-04-30 13:50:04 +03:00
|
|
|
# Supported architectures and platforms depend on the Embree library.
|
2024-06-19 21:22:10 +03:00
|
|
|
if env["arch"] == "arm64" and platform == "windows" and env.msvc:
|
2024-04-30 13:50:04 +03:00
|
|
|
return False
|
2022-12-12 21:42:10 -06:00
|
|
|
if env["arch"] in ["x86_64", "arm64", "wasm32"]:
|
|
|
|
return True
|
|
|
|
if env["arch"] == "x86_32" and platform == "windows":
|
|
|
|
return True
|
|
|
|
return False
|
2021-04-20 18:40:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|