2021-04-20 16:40:24 +00:00
|
|
|
def can_build(env, platform):
|
2022-11-25 13:48:29 +00:00
|
|
|
# Supported architectures depend on the Embree library.
|
2022-12-13 03:42:10 +00:00
|
|
|
if env["arch"] in ["x86_64", "arm64", "wasm32"]:
|
|
|
|
return True
|
2022-11-25 13:48:29 +00:00
|
|
|
# x86_32 only seems supported on Windows for now.
|
2022-12-13 03:42:10 +00:00
|
|
|
if env["arch"] == "x86_32" and platform == "windows":
|
|
|
|
return True
|
|
|
|
return False
|
2021-04-20 16:40:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|