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.9 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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 9A9B8BC6C for ; Wed, 30 Jan 2008 21:23:00 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPFroEfAXQInh2dsb2JhbACQJgEBAQgKKZd3h38 X-IronPort-AV: E=Sophos;i="4.25,279,1199660400"; d="scan'208";a="8550602" Received: from concorde.inria.fr ([192.93.2.39]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 Jan 2008 21:22:59 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m0UKMxdM014071 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 30 Jan 2008 21:22:59 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAHZroEdA6ba5kWdsb2JhbACQJgEBAQEHBAQLCBEHmAGHfw X-IronPort-AV: E=Sophos;i="4.25,279,1199660400"; d="scan'208";a="21992597" Received: from nf-out-0910.google.com ([64.233.182.185]) by mail4-smtp-sop.national.inria.fr with ESMTP; 30 Jan 2008 21:22:58 +0100 Received: by nf-out-0910.google.com with SMTP id g13so64382nfb.7 for ; Wed, 30 Jan 2008 12:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=VBhSz+q0ZcR6K1BluWngCTKufkEZnWuUGyyz2KKRO68=; b=I02Ofc4E7UI9CR9V5lAvjtw6huJpJr6h0dIP+eLGJpGOb9JyfuSZWu9aRZ97miSYWP7iHY7Y7QXjVv1m9yaOsqDAtH6kU6o+wtFq9ixfPTHsyvVRqVLCp4Aw6W0QQu0/dAnCNwnmkVWFVy9+qKJ3ADepl6KBiZhlad7NmCZ5wu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=Vp7GmkliNfuyO+3YF3WhUO8CEvWIOpDYdpM5yflziAI3BxY8hguVur/0FBWCIhnG+/vhQS+JpAC2ZDT3LEdxtYCaPCLKUSWq719XOK7bsCNG3DzJoTayNZW7UBC7vpLLQFy4/oLoXas6d2nvOAHgUkGefMzK4vAruKEolAnTpI8= Received: by 10.78.155.4 with SMTP id c4mr1828497hue.79.1201724577453; Wed, 30 Jan 2008 12:22:57 -0800 (PST) Received: from ?192.168.1.58? ( [85.2.57.49]) by mx.google.com with ESMTPS id i8sm2638282nfh.1.2008.01.30.12.22.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Jan 2008 12:22:57 -0800 (PST) Message-Id: <5ED141D1-E5C9-4C79-8460-B584265505B5@erratique.ch> From: =?ISO-8859-1?Q?B=FCnzli_Daniel?= To: caml-list List In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: [Caml-list] Re: [OSR] Ports-like package management system Date: Wed, 30 Jan 2008 21:22:59 +0100 References: <479F0664.2070706@exalead.com> <20080130123705.GA21900@pulp.rsise.anu.edu.au> X-Mailer: Apple Mail (2.915) Sender: =?ISO-8859-1?Q?Daniel=20B=FCnzli?= X-Miltered: at concorde with ID 47A0DCA3.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bunzli:01 buenzli:01 makefile:01 tarball:01 byte:01 makefile:01 altough:01 bindings:01 flags:01 caml-list:01 exceptions:01 dependency:01 short:01 caml:02 native:03 Le 30 janv. 08 =E0 15:13, Sylvain Le Gall a =E9crit : > To make a short summary: > > * have a makefile with 4 targets in upstream tarball: opt, byte, =20 > clean, install Add 'doc', it's important. As long as the makefile can transfer the hard work to ocamlbuild I =20 have no objection. However I would just like to make a case for using ocamlbuild instead =20= of make. First it removes a dependency from the port system since =20 ocamlbuild is distributed with the bare caml distribution -- it is =20 also makes it more Windows friendly altough I'm not particularly =20 sensitive to that. Secondly provided you use ocamlbuild as your build =20= system it may significantly simplify the _usage_ of ports in our =20 projects. I guess most of the time it will be about just adding a _tag =20= to the executable to produce, like exec.native : use_my_package_with_c_bindings No more tedious link errors, the flags are automatically setup =20 properly etc. ocamlbuild's tag system is the right way to manage build =20= exceptions, it is declarative and not spagheti like. I urge you to =20 have a serious look at it. Best, Daniel