You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Linux: Fix arm32 build for OIDN and Embree
Still paying the cost of not having refactored all architecture handling in the 3.x branch so we have this broken hybrid of arch/bits which is unreliable.
This commit is contained in:
@@ -7,7 +7,7 @@ def can_build(env, platform):
|
|||||||
# Note: oneDNN doesn't support ARM64, OIDN needs updating to the latest version
|
# Note: oneDNN doesn't support ARM64, OIDN needs updating to the latest version
|
||||||
supported_platform = platform in ["x11", "osx", "windows", "server"]
|
supported_platform = platform in ["x11", "osx", "windows", "server"]
|
||||||
supported_arch = env["bits"] == "64"
|
supported_arch = env["bits"] == "64"
|
||||||
if env["arch"] == "arm64":
|
if env["arch"].startswith("arm"):
|
||||||
supported_arch = False
|
supported_arch = False
|
||||||
if env["arch"].startswith("ppc"):
|
if env["arch"].startswith("ppc"):
|
||||||
supported_arch = False
|
supported_arch = False
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ def can_build(env, platform):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
# Depends on Embree library, which only supports x86_64 and aarch64.
|
# Depends on Embree library, which only supports x86_64 and aarch64.
|
||||||
if env["arch"].startswith("rv") or env["arch"].startswith("ppc"):
|
if env["arch"] in ["arm", "arm32"] or env["arch"].startswith("rv") or env["arch"].startswith("ppc"):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if platform == "android":
|
if platform == "android":
|
||||||
|
|||||||
Reference in New Issue
Block a user