2021-04-20 18:40:24 +02:00
|
|
|
def can_build(env, platform):
|
2022-11-25 14:48:29 +01: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 18:40:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|