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
Dyndep patches #2215
Dyndep patches #2215
Conversation
Fix for a bug causing artifacts to be spuriously flagged as "dead" and erased.
Added code to check "pending" so as to avoid loading data that has already is already loaded.
RPM failed to install something from EPEL. I think this has nothing to do with the PR. Is the automation malfunctioning? If not, then I may need some help understand the error. |
Bump. |
@bradking Can you have a look? |
The changes look correct to me. For reference, dyndep support was added by #1521, including support for @dfgtyx please revise your commit messages to describe this history:
and
Also please look at updating |
Does this fix #1952, too? |
@dfgtyx Can you adjust the commit message and force push? |
Is there anything I can do to help move this along? I just ran into this while working on dyndep support in Meson, wrote the same patches, and then found this before sending them. |
@dcbaker Can you creater a second PR? We could merge that one for 1.12.0. |
@jhasse, done as 2406 |
closing in favor of #2406 |
This request contains two patches. The first adjusts "ninja -t cleandead" to account for dynamic dependencies. By neglecting dynamic dependencies, Ninja spuriously flags artifacts as "dead" thereby increasing the cost of rebuilds down the road. The second patch improves the "ninja clean" performance for projects with dynamic dependencies. With this patch, on one of my projects I have observed runtimes for "ninja clean" drop from 5 minutes to 25 seconds.