From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 6BDD8BC69 for ; Wed, 2 May 2007 09:21:37 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l427La0w026070 for ; Wed, 2 May 2007 09:21:37 +0200 Received: by nz-out-0506.google.com with SMTP id s1so46167nze for ; Wed, 02 May 2007 00:21:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Fl7LIwTJWiBMRWnZNbiTPBi4SsWY1UIrgcKHV0ipgbX1bDXav5rjKjRmY2QCxiqoSp7fbaY6MlGPVtewiFKa7/priLXewRaiC7CTUHVw08Z6RarYlo+8jXR9COj4A+zgMnMyvuN4q38X1bkMqtBoi7QwcOyf1D3y26ss+I6XIBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kZn/tQF75m3momyopxRxl4PJnC8XwwiipjGfFFsnIpQHaN7m5u8ynFuZ8C4aoGkjw/vsebcUdPzN3eQyu3jPDerpmOVLESfkvnZSLMR53ZOaMkJG94pew3Ol9ohLNrTN7KsIDtRy4PZb1c07iaQ/Lw4/hBEM7SkDdpmYD+Dcf4A= Received: by 10.114.135.1 with SMTP id i1mr108787wad.1178090495900; Wed, 02 May 2007 00:21:35 -0700 (PDT) Received: by 10.114.183.15 with HTTP; Wed, 2 May 2007 00:21:35 -0700 (PDT) Message-ID: Date: Wed, 2 May 2007 09:21:35 +0200 From: "Nicolas Pouillard" To: "Josh Berdine" Subject: Re: [Caml-list] ocamlbuild: caching and -dtypes Cc: caml-list@yquem.inria.fr In-Reply-To: <00c901c78c3f$5bda4d10$138ee730$@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00c901c78c3f$5bda4d10$138ee730$@qmul.ac.uk> X-j-chkmail-Score: MSGID : 46383C00.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46383C00.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; caching:01 caching:01 tuareg:01 tuareg:01 wrote:01 caml-list:01 fewer:02 native:02 cached:02 generated:05 dcs:06 indeed:07 nicolas:08 nicolas:08 wrong:09 On 5/2/07, Josh Berdine wrote: > Hi, Hello, > 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. Regards, -- Nicolas Pouillard