-
Notifications
You must be signed in to change notification settings - Fork 177
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
The paths of Lwt's installed cmi files #364
Comments
The recent oasis feature called "FindlibDirectory" should allow to do that quite easily. |
So I guess this is a matter of
|
FTR, jbuilder is compatible with non-jbuilder installs. It simply reads META files like ocamlfind. The issue I was talking about in the PR is the following:
Only step (3) will fail. Which is unfortunate because if the user forgets to state a dependency on lwt.unix, then they won't get an error until much later when someone tries to link an executable with their libraries. The right way to deal with include paths is to have one library per directory, and that's what jbuilder enforces for libraries it installs itself. |
Thanks for clarifying, @diml. So, I guess to work on this, one would:
|
This was resolved by #374. |
@diml in ocaml/opam-repository#9228 (comment):
This seems like a problem with jbuilder being incompatible with non-jbuilder installs; on the other hand, maybe we can justmove these.cmi
files in the next release,and avoid friction.cc @djs55 @rgrinberg
EDIT: instructions for testing are below.
The text was updated successfully, but these errors were encountered: