summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-13 10:11:49 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-13 10:11:49 +0100
commite01acc46e13b154fbc4426873541c3ca8e5e7487 (patch)
treeb50c05e46ec6252581a59f69aae6bfe970c697d2
parent4bfd21b5155235da97a769798fe3b96d64fd71dd (diff)
parentcee8f1a786cb7e7cfc090091da6fbe0eb93bf595 (diff)
Merge pull request #69996 from aaronfranke/recast-arch
Improve architecture support logic in Raycast module
-rw-r--r--modules/raycast/config.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/raycast/config.py b/modules/raycast/config.py
index f4243f01c5..26329d813a 100644
--- a/modules/raycast/config.py
+++ b/modules/raycast/config.py
@@ -1,13 +1,11 @@
def can_build(env, platform):
# Supported architectures depend on the Embree library.
- # No ARM32 support planned.
- if env["arch"] == "arm32":
- return False
+ 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 False
- # The rest works, even wasm32!
- return True
+ if env["arch"] == "x86_32" and platform == "windows":
+ return True
+ return False
def configure(env):