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

Preliminary support for Dune 2.0 #3965

Merged
merged 1 commit into from
Aug 29, 2019
Merged

Preliminary support for Dune 2.0 #3965

merged 1 commit into from
Aug 29, 2019

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Aug 20, 2019

Dune 2 only promotes the .install if the -p is specified, which doesn't work for opam's build system. This commit detects whether the --promote-install-files argument is available which isn't particularly pretty, but does mean that opam will build with both Dune 1.x and 2.x.

Ultimately, it would be better to push for Dune features which eliminate the need for the post processing of the .install files completely and then just depend on Dune 2.0.

Addresses #3961

Temporary fix - ultimately the post-processing of the .install file
should be eliminated instead.
@AltGr AltGr merged commit 3bd58d4 into ocaml:master Aug 29, 2019
@rjbou rjbou added this to the 2.1.0 milestone Oct 29, 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.

3 participants