You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add support for PowerPC family
This commit is contained in:
@@ -119,8 +119,16 @@ def configure(env):
|
||||
if env["bits"] == "default":
|
||||
env["bits"] = "64" if is64 else "32"
|
||||
|
||||
if env["arch"] == "" and platform.machine() == "riscv64":
|
||||
env["arch"] = "rv64"
|
||||
machines = {
|
||||
"riscv64": "rv64",
|
||||
"ppc64le": "ppc64",
|
||||
"ppc64": "ppc64",
|
||||
"ppcle": "ppc",
|
||||
"ppc": "ppc",
|
||||
}
|
||||
|
||||
if env["arch"] == "" and platform.machine() in machines:
|
||||
env["arch"] = machines[platform.machine()]
|
||||
|
||||
if env["arch"] == "rv64":
|
||||
# G = General-purpose extensions, C = Compression extension (very common).
|
||||
|
||||
Reference in New Issue
Block a user