fix(release): include the enabled Tracy runtime #5729
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5729"
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 Ondra97 on 2026-10-14T08:12:39Z.
What
A build configured with
APS5_ENABLE_TRACY=ONlinkslibSceAgcDriver.prxagainst the shared Tracy client, and thelibstarget copies that client beside the patched libraries. Release packaging includes only.prxfiles and the MinGW runtime DLLs, so it produces ZIP and TAR archives without a required dependency.Read the configured Tracy option and include its built client in both archives when enabled:
libTracyClient.dllon Windows or the single versionedlibTracyClient.so.*on Linux. A missing or ambiguous client fails before publishing any asset. Disabled configurations exclude leftover clients from a reused build.Tested
Windows x64, supported WinLibs MinGW-w64 GCC 15.2.0, Python 3.14; current main
31bfc4e86.libsandrelinkerbuild withAPS5_ENABLE_TRACY=ONpassed. The real patched driver importslibTracyClient.dll; the built client SHA-256 isa5cf542e2deb15f272df343519b3418792ab995cf1145de7859abccf321dd87e.release_packagetakes 0.53 seconds. They cover both target platforms, exact ZIP/TAR contents, disabled configurations with stale clients and preservation of existing assets when the enabled client is missing or ambiguous.Linux client packaging has fixture coverage locally; the real enabled build above is Windows.
Current-head CI for
be9fbd537passed conventions and eligibility, plus all three relinker builds and complete test suites (Build):Full runtime-library jobs were skipped by the repository's PR workflow.
Integration with open PRs
Checked on main
d92a8dad390af1807cc91622b924252141816a5a, with this headbe9fbd537, #5896d99a3c0feand #60679a0e5fccb. Each head merges into main; their combined packaging changes require manual resolution.tracy_runtimeandvalidate_version;packagemust call the latter and still include the configured Tracy client.mimalloc.dll.Focused Windows/Python 3.14 checks on the merged sources: 26 release-package tests per configuration, 25 passed and one POSIX-only test skipped. The PR on current main, the resolved #5896 pair, the #6067 pair after updating its combined fixture, and all three packaging changes together passed. The unadapted #6067 fixture failed as described before the adjustment. These are Python packaging-fixture checks; no combined native allocator, WASM or title run is claimed.
The fixes are independent. Merge order with #5896/#6067 is not yet agreed; whichever lands later must preserve the integration points above.
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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T21:11:46Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)tools/package_release.pyL22-23tools/package_release.pyL35Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
tools/package_release.pytools/package_release.pytools/tests/test_package_release.pyImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-15T12:19:34Z.
Checked
tracy_runtimeagainstcore/libs/CMakeLists.txt(the client is copied tocore/libs/libs), ran the release_package tests on the merged tree (all pass) and without the change (4 subcases fail on the missing client); relinker CI jobs are green. Merging.