Skip to content
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

Fix lack of sorting in SourcesForSharedLibrary. #23

Merged
merged 1 commit into from Jan 27, 2017
Merged

Conversation

TallJimbo
Copy link
Member

Sorting wasn't working before, leading to spurious rebuilds due to
dependency order changes when the list of top-level build targets
changes.

I'm not sure all of these changes are necessary to fix it - using
Flatten() may have been all we needed - but sorting by str certainly
makes it easier to debug (without that it's not clear how scons sorts
File objects) and always returning SharedObjects avoids having any
intermediate steps where the sort order could get messed up.

Sorting wasn't working before, leading to spurious rebuilds due to
dependency order changes when the list of top-level build targets
changes.

I'm not sure all of these changes are necessary to fix it - using
Flatten() may have been all we needed - but sorting by str certainly
makes it easier to debug (without that it's not clear how scons sorts
File objects) and always returning SharedObjects avoids having any
intermediate steps where the sort order could get messed up.
@TallJimbo TallJimbo merged commit cefdd06 into master Jan 27, 2017
@ktlim ktlim deleted the tickets/DM-8728 branch August 25, 2018 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant