2021-04-20 16:40:24 +00:00
|
|
|
def can_build(env, platform):
|
2021-12-16 01:38:10 +00:00
|
|
|
# Depends on Embree library, which only supports x86_64 and arm64.
|
2022-08-26 09:55:23 +00:00
|
|
|
if platform == "windows":
|
|
|
|
return env["arch"] == "x86_64" # TODO build for Windows on ARM
|
|
|
|
|
2021-12-16 01:38:10 +00:00
|
|
|
return env["arch"] in ["x86_64", "arm64"]
|
2021-04-20 16:40:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|