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

switch install: fix multiple compiler candidates #3884

Merged
merged 5 commits into from
Jun 26, 2019
Merged

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Jun 25, 2019

On local switch creation, if no compiler is specified or & single infered, there is the choice between several candidates that comply with the local opam file, defined as a conjunction that leads to an unresolvable solver request.

Fixes #3874

rjbou added 3 commits June 25, 2019 16:04
On local switch creation, if no compiler is specified or & single infered, there is the choice between several candidates that comply with the local opam file, defined as a conjunction that leads to an unresolvable solver request
…urn as required a single compiler package.

This avoid to have further errors by having several incompatible compilers packages requested to be installed
@rjbou
Copy link
Collaborator Author

rjbou commented Jun 25, 2019

ping @AltGr especially for 62fcdb9

src/client/opamCommands.ml Outdated Show resolved Hide resolved
@AltGr AltGr merged commit f9d8f38 into ocaml:master Jun 26, 2019
@rjbou rjbou added this to the 2.1.0 milestone Jun 26, 2019
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.

creating local switch only works if there already is a switch
3 participants