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