Repository navigation
frontend: title version defines only on the widgets build group (#2182) - #2193
Merged
Merged
Conversation
Member
Author
|
Title check: AppImage run 40116909149 on this branch built; its test jobs are skipped for branch dispatches, so I checked the artifact directly. |
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.
Refs #2182
The AppImage compiler journal (#2190) showed 88 of 90 warm-cache misses as
context_not_found, almost all frontend compilations. Their command line carried-DOBS_RUST_GIT_DESCRIBE="obs-studio-rust-v0.1.0-beta.20261023-206-gfe3501119"(git describe --long, set target-wide infrontend/CMakeLists.txtby #1985). That changes on every commit, so every commit recompiled the whole frontend in every cached build: AppImage, Flatpak and the native lanes.Only
frontend/widgets/OBSBasic.cpp.hppreads it (and its release twinOBS_RUST_TITLE_RELEASE), through the build groupbuild/frontend.widgets+.hpp.cpp. Both are now source properties of that group (set_property(SOURCE … APPEND PROPERTY COMPILE_DEFINITIONS …), asfeature-sparkle.cmakedoes for its group), so a new commit recompiles that one translation unit.test: the title version defines must reach only…):ci/test_frontend_title_define_scope.pyfails: both defines are target-wide../lintis ok.