Skip to content

Solver: Prefer flag and stanza goals that have only one choice #3482

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
grayjay opened this issue Jun 6, 2016 · 0 comments
Open

Solver: Prefer flag and stanza goals that have only one choice #3482

grayjay opened this issue Jun 6, 2016 · 0 comments

Comments

@grayjay
Copy link
Collaborator

grayjay commented Jun 6, 2016

I discussed this with @kosmikus. If a flag or stanza has only one choice, e.g, the user has enabled tests, the solver should assign a value as soon as possible, so that it can discover new dependencies more quickly. The behavior would be similar to --reorder-goals, but less general. It would also avoid the slowdown in tree traversal that is caused by --reorder-goals. Another possibility is to also prefer package goals where the user has specified an exact version.

This change would handle the issue with stanza preferences discussed here: #3453 (comment)

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

No branches or pull requests

1 participant