From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p4R7rprd009857 for ; Fri, 27 May 2011 09:53:51 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AowCAFBX301KfVI0kGdsb2JhbAA/AQMSpi4IFAEBAQEJCQ0HFAQiqFyMHoI3hFA5iGIBAQMGhhYEkEGEO4ERhVQ7gzs X-IronPort-AV: E=Sophos;i="4.65,279,1304287200"; d="scan'208";a="95548381" Received: from mail-ww0-f52.google.com ([74.125.82.52]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 27 May 2011 09:53:46 +0200 Received: by mail-ww0-f52.google.com with SMTP id 31so1897862wwb.9 for ; Fri, 27 May 2011 00:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=AIiSBkPCwntsPjGkIQK7OaIHP6NFcRMWkWTlxlrB92I=; b=mzrpZn7ZfwM2IIv95IqLPacYmMqQ+28SA6FWSKol99BWTXxHMrsLfnaAiaR55Mc85M KfLHY8FSoclQafF5MYcp3Me1XTOklkTngNLQQU8BxglGUJWe+GZHXX2RtXkm8VnZHEd8 QzRi/1fg5rELsoPfiM7CZlq+VhowjMQ9pZ2bs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=btvVXtlpomY6oPBjiv6K6BYbDOpba/BwlL3MLhSWwTHVR5se7kxPU6QItwzhqC7FEk 3lzJ3g8xzfTqqXlDPmdaiTO4A2kUNLXIq8fArWt+mLSLkQmGTyxiUTWbYE0Jlco68fFW 4MQC9jgyLMkvZzcybP/yH0Co1Bcq6RJD927bE= Received: by 10.227.195.6 with SMTP id ea6mr1726097wbb.74.1306482826028; Fri, 27 May 2011 00:53:46 -0700 (PDT) Received: from [10.0.1.58] ([87.54.60.37]) by mx.google.com with ESMTPS id c17sm980400wbh.46.2011.05.27.00.53.44 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2011 00:53:45 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Joel Reymont In-Reply-To: <95CA84D2-5086-4459-B987-4C1DF825AE41@gmail.com> Date: Fri, 27 May 2011 09:53:42 +0200 Message-Id: <9FC9F99D-9CE5-4981-9C94-DA2DCC4E4428@gmail.com> References: <95CA84D2-5086-4459-B987-4C1DF825AE41@gmail.com> To: caml-list X-Mailer: Apple Mail (2.1084) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p4R7rprd009857 Subject: [Caml-list] Re: [PATCH] tremendously speeding up oasis builds with many executables 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. -------------------------------------------------------------------------- - for hire: mac osx device driver ninja, kernel extensions and usb drivers ---------------------+------------+--------------------------------------- http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont ---------------------+------------+---------------------------------------