diff options
Diffstat (limited to 'modules/raycast/config.py')
-rw-r--r-- | modules/raycast/config.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/raycast/config.py b/modules/raycast/config.py new file mode 100644 index 0000000000..5de36c5322 --- /dev/null +++ b/modules/raycast/config.py @@ -0,0 +1,17 @@ +def can_build(env, platform): + # Depends on Embree library, which only supports x86_64 and aarch64. + + 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 |