Skip to content

Fix for regression introduced in commit 7302245 #2

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andorpatho-dlubal
Copy link

Entire subtrees of dependencies were skipped in preselectInferenceRules leading to incorrect build order of dependencies. The assumption that if a target has commands, than no further processing of its dependencies is necessary is incorrect. In our specific case, this led to linking of dll starting before any of the object files were built for the dll.

Fixed the original performance problem with an extra flag instead, that marks whether a target (and its dependency subtree) has already been visited. preselectInferenceRules still completes instantly for a large project, and build order is correct.

… were skipped in preselectInferenceRules leading to incorrect build order of dependencies.

Fixed the original performance problem with an extra flag that marks whether a target (and its dependency subtree) has already been visited.
@CLAassistant
Copy link

CLAassistant commented Apr 15, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants