16 add build the coretrace binary in the cicd for autonomous gui update#25
Merged
SizzleUnrlsd merged 6 commits intoMar 26, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR improves the release packaging flow for
ctraceand tightens the CMake integration of fetched dependencies.The main goal is to make Linux release archives self-contained enough to run without relying on a matching host LLVM/Clang runtime layout, while also preventing fetched third-party projects from being built as part of the default target set.
Why
The previous release packaging flow archived the built binary directly, which made runtime resolution fragile when shared libraries were not available on the target machine.
Architecturally, the packaging responsibility is now moved closer to CMake installation rules instead of being hardcoded in the Docker packaging step:
EXCLUDE_FROM_ALLso they do not pollute default builds unnecessarilyThis keeps the build more generic and easier to evolve than manually copying a fixed list of runtime libraries.
Changes
CMake install/runtime packaging
3.21ctraceINSTALL_RPATHso the installed binary resolves bundled libraries from../libinstall(RUNTIME_DEPENDENCY_SET ...)to collect runtime shared library dependencies during installationconfig/directory alongside the packaged binaryRelease packaging
patchelfcmake --installlddFetchContent integration
FetchContent_MakeAvailable(...)usage with:FetchContent_GetProperties(...)FetchContent_Populate(...)add_subdirectory(... EXCLUDE_FROM_ALL)nlohmann_jsoncpp-httplibcoretrace-loggerstack_analyzerImpact
Validation
ctrace@shookapic