Skip to content

Commit

Permalink
Jolt: Disable module on unsupported RISC-V and PPC architectures
Browse files Browse the repository at this point in the history
Fixes #100557.
  • Loading branch information
akien-mga committed Dec 18, 2024
1 parent 6395450 commit 9fa6da8
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"].startswith("rv") or env["arch"].startswith("ppc"):
return False

return True


def configure(env):
Expand Down

0 comments on commit 9fa6da8

Please sign in to comment.