Building Older Commits
Bisecting and debugging older versions of Eden can be difficult because their source and dependency requirements may differ from the current version.
Checkout and build
-
From the repository root, check out the commit you want to build:
git switch --detach <commit> -
Initialize and update any Git submodules recorded by that commit:
git submodule update --init --recursive -
Configure and build the targets available in that revision. For this checkout, the CMake project is
yuzu; the Qt app target isyuzu(outputeglantine), and the SDL command-line target isyuzu-cmd(outputeden-cli).cmake -S . -B buildcmake --build build --target yuzu yuzu-cmdTarget names and build options can differ in older commits. Check that revision's CMake files and build configuration if either target is unavailable.
Use the dependency definitions from the checked-out revision. In this checkout, many dependencies are managed through CPM and cpmfile.json during CMake configuration, while externals/ also contains vendored source directories. Git submodule updates only apply to submodules recorded by the selected commit; they do not restore removed directories or replace CPM-managed dependencies. Do not apply a dependency-fix script or pinned revisions from another commit without verifying they match the commit you are building.