Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ocaml/opam-repository#17541 seeks to solve the combinatorial explosion of
ocaml-variants
packages, with a trial for the 4.12 packages only which affects the generation of the variant packages for tier 1 images (but not by much).All that changes here is that
opam switch create
needs to use--packages
andOcaml_version.Opam.V2
now has an extra function which returns the list of additional packages which are required.@AltGr and I are just polishing the opam-repository PR - it should be the case that the 4.12-afl image, for example, will use
ocaml-variants.4.12.0+trunk
andocaml-options-only-afl
, the-only-
versions of packages prevent dependencies from changing the underlying compiler.