Merge pull request #69996 from aaronfranke/recast-arch
Improve architecture support logic in Raycast module
This commit is contained in:
commit
e01acc46e1
@ -1,13 +1,11 @@
|
|||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
# Supported architectures depend on the Embree library.
|
# Supported architectures depend on the Embree library.
|
||||||
# No ARM32 support planned.
|
if env["arch"] in ["x86_64", "arm64", "wasm32"]:
|
||||||
if env["arch"] == "arm32":
|
|
||||||
return False
|
|
||||||
# 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
|
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):
|
def configure(env):
|
||||||
|
Loading…
Reference in New Issue
Block a user