config.py 461 B

12345678910111213141516171819202122
  1. def can_build(env, platform):
  2. if not env["tools"]:
  3. return False
  4. # Depends on Embree library, which supports only x86_64 (originally)
  5. # and aarch64 (thanks to the embree-aarch64 fork).
  6. if platform == "android":
  7. return env["android_arch"] in ["arm64v8", "x86_64"]
  8. if platform in ["javascript", "server"]:
  9. return False
  10. if env["bits"] == "32":
  11. return False
  12. return True
  13. def configure(env):
  14. pass