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.
|
|
|
|
# No ARM32 support planned.
|
|
|
|
if env["arch"] == "arm32":
|
|
|
|
return False
|
|
|
|
# x86_32 only seems supported on Windows for now.
|
|
|
|
if env["arch"] == "x86_32" and platform != "windows":
|
|
|
|
return False
|
|
|
|
# The rest works, even wasm32!
|
|
|
|
return True
|
2021-04-20 16:40:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|