diff options
Diffstat (limited to 'modules/raycast/config.py')
-rw-r--r-- | modules/raycast/config.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/raycast/config.py b/modules/raycast/config.py new file mode 100644 index 0000000000..7e8b3e9840 --- /dev/null +++ b/modules/raycast/config.py @@ -0,0 +1,19 @@ +def can_build(env, platform): + # Depends on Embree library, which only supports x86_64 and aarch64. + if env["arch"].startswith("rv") or env["arch"].startswith("ppc"): + return False + + if platform == "android": + return env["android_arch"] in ["arm64v8", "x86_64"] + + if platform == "javascript": + return False # No SIMD support yet + + if env["bits"] == "32": + return False + + return True + + +def configure(env): + pass |