11 lines
281 B
Python
11 lines
281 B
Python
def can_build(env, platform):
|
|
# Depends on Embree library, which only supports x86_64 and arm64.
|
|
if platform == "windows":
|
|
return env["arch"] == "x86_64" # TODO build for Windows on ARM
|
|
|
|
return env["arch"] in ["x86_64", "arm64"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|