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

ocamlbuild doesn't compile files in subdirectory even if dependencies are correct #5015

Closed
vicuna opened this issue Apr 1, 2010 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Apr 1, 2010

Original bug ID: 5015
Reporter: gildor
Status: resolved (set by @damiendoligez on 2017-02-27T13:23:00Z)
Resolution: suspended
Priority: normal
Severity: minor
Version: 3.11.2
Target version: later
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: mehdi @hcarty

Bug description

Hello,

You will find attached a .tar.gz with good and bad subdirectory that shows what I mean.

I try to compile a library that has a module in a subdirectory. Depends are generated correctly but the module inside the subdirectory is not compiled
before the toplevel module.

Here is my a.mllib file:
intern/A2
A

A uses A2.

If I add "intern": include, all is working fine because A2 is compiled just after its dependencies are computed.

Regards

File attachments

@vicuna
Copy link
Author

vicuna commented Feb 27, 2017

Comment author: @damiendoligez

ocamlbuild is now a separate project that lives on GitHub.
PR transferred to ocaml/ocamlbuild#168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant