Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild: caching and -dtypes
On 5/2/07, Josh Berdine <> 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