English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
ocamlbuild: caching and -dtypes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-02 (07:21)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild: caching and -dtypes
On 5/2/07, Josh Berdine <berdine@dcs.qmul.ac.uk> wrote:
> Hi,

> I've been trying out ocamlbuild, very cool indeed, thanks!


> But I wonder, am I the only one who is experiencing ocamlbuild caching fewer
> generated files than I would expect?  I haven't had time to investigate
> fully, but when building native code I see something like only two thirds of
> the files being cached from one successful build to the next when no sources
> are modified.

When no source is modified the second run shouldn't trigger any
command. In my tests I use the -nothing-should-be-rebuilt option to
ensure it. If you find a counter example of reasonably sized I'll dig
a little to see what's wrong.

> Also, has anyone trained tuareg to look for .annot files in the build
> directory, or else taught ocamlbuild to put the .annot files back?

That's a known issue, the tuareg mode will be upgraded soon.


Nicolas Pouillard