caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "François Bobot" <francois.bobot@cea.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] ocamldep, transitive dependencies, build systems, flambda
Date: Tue, 5 Jul 2016 14:00:31 +0200	[thread overview]
Message-ID: <c03e1cde-6065-8142-2488-8b33e040e27b@cea.fr> (raw)
In-Reply-To: <a3ecd961-eb6a-27ba-823c-7e798771ceb6@lexifi.com>

On 04/07/2016 18:49, Alain Frisch wrote:
> So if any other group has faced the same problem and found a nice solution (with omake or another
> build system), I'd love to hear about it!

The solution is not nice and similar to JaneStreet solution.

Nick Chapman wrote:
> We sidestep the ocamldep issues you describe by using ocamldep only to determine dependencies
> within a library but not between libraries. Dependencies between libraries and handled by
> requiring the user explicitly list dependent libraries

But we do everything in `Makefile` with `make` and we are using packs. The only tricky point is to 
create dumb `.ml` and `.mli` in the "pub" directory so that ocamldep add the right dependencies.

When I tried to use module-alias instead of packs I failed.

-- 
François

  parent reply	other threads:[~2016-07-05 12:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04 16:49 Alain Frisch
2016-07-05  9:17 ` Nick Chapman
2016-07-18 14:47   ` Alain Frisch
2016-07-19  9:20     ` Goswin von Brederlow
2016-07-19  9:46   ` Daniel Bünzli
2016-07-05 12:00 ` François Bobot [this message]
2016-07-05 13:53 ` Gerd Stolpmann
2016-07-05 13:06 Hongbo Zhang (BLOOMBERG/ 731 LEX)
2016-07-05 13:17 ` Gabriel Scherer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c03e1cde-6065-8142-2488-8b33e040e27b@cea.fr \
    --to=francois.bobot@cea.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).