diff options
Diffstat (limited to 'modules/raycast/config.py')
-rw-r--r-- | modules/raycast/config.py | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/modules/raycast/config.py b/modules/raycast/config.py index 7e8b3e9840..26329d813a 100644 --- a/modules/raycast/config.py +++ b/modules/raycast/config.py @@ -1,18 +1,11 @@ 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 + # Supported architectures depend on the Embree library. + if env["arch"] in ["x86_64", "arm64", "wasm32"]: + return True + # x86_32 only seems supported on Windows for now. + if env["arch"] == "x86_32" and platform == "windows": + return True + return False def configure(env): |