OCaml 5.0: use the compiler META files when available#5824
OCaml 5.0: use the compiler META files when available#5824Octachron wants to merge 1 commit intoocaml:mainfrom
Conversation
|
Is this enough when neither |
|
I will check that use case, thanks for reminding me! But since After a quick glance, |
|
|
||
| let has_sandboxed_otherlibs version = version >= (5, 0, 0) | ||
|
|
||
| let has_META_files version = version >= (5, 0, 0) |
There was a problem hiding this comment.
just adding a note in order not to forget - this is not part of 5.0, right?
There was a problem hiding this comment.
It is expected to land in 5.0.0~alpha1
There was a problem hiding this comment.
nice! just a reminder not to merge this until it's the case then.
|
thanks for this. this will probably supersede (part of) #4197 . |
|
Superseded by #5916 |
The compiler is considering the option to ship its own META file in ocaml/ocaml#11007 .
This change would remove the need for dune to generate dummy META files for libraries bundled with the compiler when ocamlfind is not installed.
This draft PR is a proof concept to check that dune can support this new installation process with few changes.