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

Consider enabling --independent-goals by default #6460

Open
grayjay opened this issue Dec 23, 2019 · 0 comments
Open

Consider enabling --independent-goals by default #6460

grayjay opened this issue Dec 23, 2019 · 0 comments

Comments

@grayjay
Copy link
Collaborator

grayjay commented Dec 23, 2019

#4481 exposed the --independent-goals flag but set the default to false. It may be better to change the default to true to handle projects that contain packages that are setup dependencies or build tools for other packages within the project. Without --independent-goals, all targets are forced to have consistent versions for their dependencies. See issue #4295 for an example of a project that needs --independent-goals.

There are also disadvantages to enabling --independent-goals:

  • Removing the requirement of consistent versions for targets' dependencies could cause more packages to be built.
  • It would increase solver run time, since the solver would need to choose versions for dependencies under more qualifiers.
  • It would increase the complexity of package qualifiers, which would affect solver error messages and constraints.
  • It could increase the complexity of install plans.
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