build(tools): allow LLVM from the system #15805
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15805"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by oberonlift on 2026-11-04T16:24:12Z.
Can merge at any time, as long as it is before #15806.
ps5lift is a static recompiler for PS5 executables: it lifts a game's x86-64 code to LLVM IR and compiles it ahead of time to aarch64, which runs on Linux against AnyPS5's own libraries with no interpreter or JIT. It runs AnyPS5's PS5-style test programs and a homebrew media player to its home screen; commercial games are not playable yet. Branch
ps5lift-previewmerges all of its PRs (how to try it); native Apple Silicon support is coming along fast. It is a separate approach from the ARM64 compiler in #5021; #1835 has an introduction.ps5lift's lifter builds against LLVM from the system, and the convention check reports
find_package(LLVM)as third-party code that is not a submodule. This lets the lifter's PR, which follows, pass the check.What
The convention check accepts
find_package(LLVM)as it acceptsPython3,ThreadsandGit.Tested
tools/tests/test_check_conventions_comments.pypasses, with a new case forfind_package(LLVM REQUIRED CONFIG). The convention check passes on this PR, and on the lifter's branch when it runs this PR's script.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code