From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 137A181799 for ; Fri, 26 Jul 2013 12:48:43 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkCAAVT8lFKN1ZKemdsb2JhbABAGoM7g1+6NYEsDgEBCwsKCBIqgiUBBSNWEAsaAiYCAkcQBhuICAQIM6Z+kViBKIwGghwzB4JjM28DmQiEZxOOPg X-IPAS-Result: AmkCAAVT8lFKN1ZKemdsb2JhbABAGoM7g1+6NYEsDgEBCwsKCBIqgiUBBSNWEAsaAiYCAkcQBhuICAQIM6Z+kViBKIwGghwzB4JjM28DmQiEZxOOPg X-IronPort-AV: E=Sophos;i="4.89,750,1367964000"; d="scan'208";a="22335417" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail3-smtp-sop.national.inria.fr with ESMTP; 26 Jul 2013 12:48:41 +0200 Received: from [192.168.15.240] (unknown [62.49.66.12]) by smtp.webfaction.com (Postfix) with ESMTP id BC11621C1BFF; Fri, 26 Jul 2013 10:48:38 +0000 (UTC) Date: Fri, 26 Jul 2013 11:48:36 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Wojciech Meyer Cc: Francois Berenger , caml-list@inria.fr Message-ID: <3BF2565DDDAA40A088D83701E3A9F0A9@erratique.ch> In-Reply-To: <874nbhrddu.fsf@gmail.com> References: <1374669368.25411.5@samsung> <1B6BB035-9909-4F0C-9DEA-F713B977A467@ocamlpro.com> <7F8931D5-E65D-49EB-B54D-A50716F3EFDD@recoil.org> <51F0801A.5080603@riken.jp> <20130725172359.a40fdfb172b120cadab5544a@gmerlin.de> <20130725200356.GA15673@notk.org> <51F1CD6C.3050305@riken.jp> <51F2089D.4000104@riken.jp> <874nbhrddu.fsf@gmail.com> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] Re: ocamlbuild Le vendredi, 26 juillet 2013 =C3=A0 08:25, Wojciech Meyer a =C3=A9crit : > I believe ocamlbuild HAS clear and sound design, more than other > tools. In fact many ideas in ocamlbuild are novel, and interesting, this > is the major reason I maintain it, otherwise I'd not be interested in > doing so. I completely agree. When it came out I jumped on the project --- was burned= out by a recursive make file trying to compile only things that changed ac= ross developing libraries used by another developing project; using just oc= amlbuild, a _tags file and symlinks solved it all in a minute. However: * A wiki is not documentation. The reference document that documents the co= nceptual model of ocamlbuild, the available tags and their effects and a cl= ear/understandable documentation of the *API* are still missing. How does o= camlbuild build your project, how does it compute dependencies, how does it= track changes, etc.=20=20 * Given our struggles with myocamlbuild.ml I wonder whether the current API= is the right one or if it's just a matter of the missing documentation. An= d this is from a person who has written significant myocamlbuild.ml plugins= [1,2]. If that is a sign of something my current strategy is to switch to = a mixture of shell scripts and ocamlbuild invocations to side-step myocamlb= uild.ml whenever possible. * Easy built-in support for C stubs/libraries is missing. E.g. I'd be glad = if I hadn't to write a myocamlbuild.ml file for a simple project like this = [3]. Best, Daniel [1] http://brion.inria.fr/gallium/index.php/Compiling_C_with_gcc [2] http://darcs.ocamlcore.org/ocamlunix/myocamlbuild.ml [3] https://github.com/dbuenzli/rpng