-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(cmake/modules): avoid useless rebuild #1495
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting this!
Left two comments :)
ca232cd
to
0044a0a
Compare
Because of https://gitlab.kitware.com/cmake/cmake/-/issues/16419, every time one compiles, some external projects gets updated causing rebuild. Have EP_UPDATE_DISCONNECTED option (default OFF) to be able to control that behaviour. Signed-off-by: Angelo Puglisi <[email protected]> Co-authored-by: Leonardo Di Donato <[email protected]> Signed-off-by: Leonardo Di Donato <[email protected]>
@leodido since |
Now it passed. CMake version maybe? I guess it's fine like that anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We probably want to mention this option in the source documentation page:
LGTM label has been added. Git tree hash: 577f416fb8bb254074d9b7a079c2a557b8411c9d
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/milestone 0.27.0 |
Because of https://gitlab.kitware.com/cmake/cmake/-/issues/16419, every
time one compiles, some external projects gets updated causing rebuild.
Set UPDATE_DISCONNECTED on EXTERNALPROJECT_ADD, since we can assume git
tags we're using will not change.
Signed-off-by: deepskyblue86 [email protected]
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
cmake
/area build
What this PR does / why we need it:
Avoid unnecessary rebuild
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
No