Skip to content

Commit

Permalink
Jolt: Disable module on unsupported RISC-V, PPC, and LoongArch archit…
Browse files Browse the repository at this point in the history
…ectures

Fixes godotengine#100557.
  • Loading branch information
akien-mga committed Dec 18, 2024
1 parent 6395450 commit d243302
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/jolt_physics/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
def can_build(env, platform):
return not env["disable_3d"]
if env["disable_3d"]:
return False

if env["arch"] in ["loongarch64", "ppc32", "ppc64", "rv64"]:
return False

return True


def configure(env):
Expand Down

0 comments on commit d243302

Please sign in to comment.