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.
|
2022-12-13 04:42:10 +01:00
|
|
|
if env["arch"] in ["x86_64", "arm64", "wasm32"]:
|
|
|
|
return True
|
2022-11-25 14:48:29 +01:00
|
|
|
# x86_32 only seems supported on Windows for now.
|
2022-12-13 04:42:10 +01:00
|
|
|
if env["arch"] == "x86_32" and platform == "windows":
|
|
|
|
return True
|
|
|
|
return False
|
2021-04-20 18:40:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|