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=0.0 required=5.0 tests=HTML_MESSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 8FCE0BC69 for ; Wed, 2 May 2007 00:23:37 +0200 (CEST) Received: from mail.dcs.qmul.ac.uk (tart.dcs.qmul.ac.uk [138.37.95.139]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l41MNaDt005389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 May 2007 00:23:37 +0200 Received: from tide97.microsoft.com ([213.199.128.155] helo=msrc1291015) by mail.dcs.qmul.ac.uk with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.62) (envelope-from ) id 1Hj0kx-0000js-89 for caml-list@yquem.inria.fr; Tue, 01 May 2007 23:23:35 +0100 From: "Josh Berdine" To: Subject: ocamlbuild: caching and -dtypes Date: Tue, 1 May 2007 23:23:29 +0100 Message-ID: <00c901c78c3f$5bda4d10$138ee730$@qmul.ac.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00CA_01C78C47.BD9EB510" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AceMP1ZZ1pZbLGIbTl+rWi5PDgef1w== Content-Language: en-us X-DCS-Auth-User: berdine (person) X-j-chkmail-Score: MSGID : 4637BDE8.000 on concorde : j-chkmail score : XX : 5/20 0 0.000 -> 2 X-Miltered: at concorde with ID 4637BDE8.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; caching:01 caching:01 tuareg:01 cheers:01 tuareg:01 cheers:01 fewer:02 fewer:02 native:02 native:02 cached:02 cached:02 generated:05 generated:05 dcs:06 This is a multipart message in MIME format. ------=_NextPart_000_00CA_01C78C47.BD9EB510 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. Also, has anyone trained tuareg to look for .annot files in the build directory, or else taught ocamlbuild to put the .annot files back? Cheers, Josh ------=_NextPart_000_00CA_01C78C47.BD9EB510 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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.

 

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

 

Cheers,  Josh

------=_NextPart_000_00CA_01C78C47.BD9EB510-- 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