Add automatic sccache/ccache detection to CMake and remove deprecated Ninja setup action #734
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!734
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/734/head"
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?
@TYFALY on GitHub · 2026-09-20 15:20 UTC · original
TYFALY:main→main· +17 −5 · 2 files · 7 commits · merged 2026-09-20 15:50 UTCSummary
sccache(prioritized) andccacheinCMakeLists.txtviaCMAKE_<LANG>_COMPILER_LAUNCHER. Falls back silently if neither compiler launcher is found inPATH.seanmiddleditch/gha-setup-ninjaaction and redundant package manager installs for Ninja across Windows, macOS, and Linux runners in.github/workflows/build.yml.Testing & Verification
Verified build functionality across all target runners in CI:
Zero compilation failures or runtime issues across all three operating systems.
AI Disclosure
AI was used for research on CMake compiler launcher configurations . All CMake modifications and GitHub Actions workflow runs were manually reviewed, verified, and tested prior to PR submission.
@coderabbitai[bot] on GitHub · 2026-09-20 15:23 UTC · original · edited 2026-09-20 15:48 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
237f13da-4411-419a-96bf-ae8395fbf679📥 Commits
Reviewing files that changed from the base of the PR and between
f48a0f97c3and7fabac0ee0.📒 Files selected for processing (1)
CMakeLists.txtIncluded review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.
📝 Walkthrough
Walkthrough
CMake preserves explicitly configured compiler launchers. When a launcher is undefined, CMake selects
sccachebeforeccacheindependently for C and C++. The build workflows no longer install Ninja explicitly on Windows, macOS, or Linux. No exported or public declarations changed.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Feature
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Comment
@coderabbitai helpto get the list of available commands.@coderabbitai[bot] on GitHub · 2026-09-20 15:23 UTC · original · edited 2026-09-20 15:44 UTC
On
CMakeLists.txtline 24 (outdated):🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Preserve explicitly configured compiler launchers.
When a caller sets
CMAKE_C_COMPILER_LAUNCHERorCMAKE_CXX_COMPILER_LAUNCHER, these unconditional assignments replace the requested launcher wheneversccacheorccacheis available. This can break configured builds that use a tool such asdistcc. Guard each language-specific assignment withif(NOT DEFINED ...). CMake uses these variables to initialize compiler-launcher properties for subsequently created targets. (cmake.org)✅ Addressed in commits
46c38c8tof48a0f9@coderabbitai[bot] on GitHub · 2026-09-20 15:23 UTC · original · reviewed
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
450cb949-a086-484d-a027-65b6925365e5📥 Commits
Reviewing files that changed from the base of the PR and between
c3cc8454b9and41ead67a29.📒 Files selected for processing (2)
.github/workflows/build.ymlCMakeLists.txtIncluded review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.