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

Support new ocaml-variants layout #70

Merged
merged 1 commit into from
Nov 18, 2020
Merged

Conversation

dra27
Copy link
Contributor

@dra27 dra27 commented Nov 11, 2020

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 and Ocaml_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 and ocaml-options-only-afl, the -only- versions of packages prevent dependencies from changing the underlying compiler.

Copy link
Contributor

@talex5 talex5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, once ocaml/opam-repository#17541 and ocurrent/ocaml-version#22 are merged.

@dra27 dra27 marked this pull request as ready for review November 16, 2020 20:42
@avsm
Copy link
Member

avsm commented Nov 17, 2020

Pushed to live

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.

3 participants