mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Unify bits, arch, and android_arch into env["arch"]
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
8916949b50
commit
27b0f18275
@@ -5,14 +5,7 @@ def can_build(env, platform):
|
||||
# as doing lightmap generation and denoising on Android or HTML5
|
||||
# would be a bit far-fetched.
|
||||
desktop_platforms = ["linuxbsd", "macos", "windows"]
|
||||
supported_arch = env["bits"] == "64"
|
||||
if env["arch"] == "arm64":
|
||||
supported_arch = False
|
||||
if env["arch"].startswith("ppc"):
|
||||
supported_arch = False
|
||||
if env["arch"].startswith("rv"):
|
||||
supported_arch = False
|
||||
return env["tools"] and platform in desktop_platforms and supported_arch
|
||||
return env["tools"] and platform in desktop_platforms and env["arch"] == "x86_64"
|
||||
|
||||
|
||||
def configure(env):
|
||||
|
||||
Reference in New Issue
Block a user