From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p4RNVBX4009076 for ; Sat, 28 May 2011 01:31:11 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmAEAFwz4E1QW+UMgWdsb2JhbAAqKxuYF44OFAEBFiYliQ+9cIYeBI4CgkCIYYYz X-IronPort-AV: E=Sophos;i="4.65,283,1304287200"; d="scan'208";a="109732331" Received: from lo.gmane.org ([80.91.229.12]) by mail1-smtp-roc.national.inria.fr with ESMTP; 28 May 2011 01:31:05 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QQ6Uh-0004yu-SH for caml-list@inria.fr; Sat, 28 May 2011 01:31:03 +0200 Received: from ks368928.kimsufi.com ([94.23.39.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 01:31:03 +0200 Received: from sylvain by ks368928.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 May 2011 01:31:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Date: Fri, 27 May 2011 23:30:48 +0000 (UTC) Message-ID: References: <95CA84D2-5086-4459-B987-4C1DF825AE41@gmail.com> <9FC9F99D-9CE5-4981-9C94-DA2DCC4E4428@gmail.com> X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ks368928.kimsufi.com User-Agent: slrn/pre1.0.0-18 (Linux) Subject: [Caml-list] Re: [PATCH] tremendously speeding up oasis builds with many executables Hello, On 27-05-2011, Joel Reymont wrote: > To add some color... > > We have 13 executables in _oasis and some libraries. That's 14 > invocations of ocamlbuild, loading of the dependency graph. > > That's also 14 checks to see if the target binary has changed by > manually reading and comparing both binaries, plus 14 copies if source > (built by ocamlbuild) changed. > > Our top-level project makefile runs 'make' to build and then 'make > test' to run the unit tests. This is 28 invocations of ocamlbuild and > a pain in the rear during development. > > After applying the patch and making sure that 'Executable foo' matches > 'MainIs: foo.ml', we now have 1 and 2 invocations of ocamlbuild > respectively. Needless to say, we are very happy. > I just release oasis 0.2.1~alpha1: https://forge.ocamlcore.org/frs/download.php/626/oasis-0.2.1~alpha1.tar.gz It contains quite a few bug fixes, especially a version of the speed up you describe. Cheers, Sylvain Le Gall -- My company: http://www.ocamlcore.com Linkedin: http://fr.linkedin.com/in/sylvainlegall Start an OCaml project here: http://forge.ocamlcore.org OCaml blogs: http://planet.ocamlcore.org