docs: correct the CMake minimum version and the f32 flush probe location #15122
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15122"
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 MarcZX10 on 2026-11-02T17:30:48Z.
What
Two documentation statements that the code does not support:
docs/dev/BUILD.md: the minimum CMake version is 3.21 for the test build (the test CMake scripts usefile(COPY_FILE), added in 3.21), not 3.22.1;CMakeLists.txt:1declares 3.20 for the main build.docs/dev/ARCHITECTURE.md: the f32 flush probe isFloatFlushProbe.cpp, not anagc_driver_f32_denormal_flushprogram, which does not exist.0b1ea3155f docs(build): correct the minimum CMake version (3.22.1 -> 3.20)
682921f1fd docs(architecture): correct the location of the f32 flush probe programs
Tested
tools/check_conventions.py --base upstream/mainandgit diff --check upstream/main: clean.core/libs/prx/libSceAgcDriver/Execution/src/FloatFlushProbe.cpp.CMakeLists.txt:1,core/libs/tests/AvPlayerHttpModules.cmake:42andcore/libs/tests/SigvecModules.cmake:18(file(COPY_FILE), added in CMake 3.21 per CMake's documentation). Not run with an older CMake.Not verified
Checklist
main; #15070 covers a different CONVENTIONS lineImported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T17:50:35Z.
Review: CHANGES_REQUESTED
The f32 probe correction is right:
agc_driver_f32_denormal_flushexists nowhere in the tree, andcore/libs/prx/libSceAgcDriver/Execution/src/FloatFlushProbe.cppis where the probe programs are. (The PR text saystests/FloatFlushProbe.cpp:172, but the link in the doc points to the right file.)The CMake line goes too low, though.
CMakeLists.txt:1does say 3.20, but a build withBUILD_TESTING=ONruns CMake scripts that usefile(COPY_FILE ...), which CMake added in 3.21 (its ownfiledocumentation marks the signatureversionadded:: 3.21):core/libs/tests/AvPlayerHttpModules.cmake:42,:57,:155, run ascmake -Pfromcore/libs/prx/libSceAvPlayer/CMakeLists.txt:65;core/libs/tests/SigvecModules.cmake:18,:31.With CMake 3.20 those scripts stop with an unknown
filesub-command, so "3.20 or newer" would send someone to a version whose test build doesn't work. (core/libs/tests/shared_memory/CMakeLists.txtasks for 3.22, but it's a standalone Linux-only project, so it doesn't count here.) Could the line say 3.21, or "3.20 (3.21 withBUILD_TESTING=ON)"? 3.22.1 is also what Ubuntu 22.04 ships, which may be where the old number came from. I haven't configured with an older CMake; the version comes from CMake's documentation, not a run.Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-06T15:03:48Z.
Review: APPROVED
@MarcZX10 re-checked at
311c8cf17c, thanks for both fixes. My change request was on682921f1fd.docs/dev/BUILD.md:42now says 3.21 for the test build and namesfile(COPY_FILE)as the reason. The sub-command is still used atcore/libs/tests/AvPlayerHttpModules.cmake:42,:57,:155andcore/libs/tests/SigvecModules.cmake:18,:31at this head, andCMakeLists.txt:1still declares 3.20, so the line matches the tree. As before, I haven't configured with an older CMake; the 3.21 figure comes from CMake's documentation, not a run.ARCHITECTURE.mdlink resolves tocore/libs/prx/libSceAgcDriver/Execution/src/FloatFlushProbe.cpp, which definesProbeFloat32FlushToZero(FloatFlushProbe.cpp:235), andagc_driver_f32_denormal_flushno longer appears anywhere in the tree at this head.Overlap (
tools/pr_overlap.py --branchat this head, then GitHub's per-file patches for every PR it couldn't compare):perf(agc), mergeable) rewrites the sameARCHITECTURE.mdparagraph (docs/dev/ARCHITECTURE.mdL232 onmain7383be1a19) to add KosmicKrisp, and its new text still says "the three programs ofagc_driver_f32_denormal_flush". Whichever merges second will need to resolve that line and keep the corrected file name.BUILD.mdrequirements line (it keeps 3.22.1 and adds an Apple silicon sentence), but it already conflicts withmain.BUILD.mdorARCHITECTURE.mdelsewhere: none of their patches changes the CMake version or the f32 flush paragraph.Conventions passes on this head in CI. The PR changes only
docs/dev/BUILD.mdanddocs/dev/ARCHITECTURE.md(GitHub's file list). Approved on reading; nothing was built.AI-assisted: yes (Claude Code)