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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 1E54281799 for ; Sat, 27 Jul 2013 11:51:53 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of goswin-v-b@web.de) identity=pra; client-ip=212.227.17.11; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="goswin-v-b@web.de"; x-sender="goswin-v-b@web.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of goswin-v-b@web.de) identity=mailfrom; client-ip=212.227.17.11; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="goswin-v-b@web.de"; x-sender="goswin-v-b@web.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mout.web.de) identity=helo; client-ip=212.227.17.11; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="goswin-v-b@web.de"; x-sender="postmaster@mout.web.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQBAJmX81HU4xELm2dsb2JhbABagzu4eoUygRYWDgEBAQEBBgsLCRQogiQBAQU6TwsYCSUPBSg0h30BFgivAR+JFpAEFoMAbwOXXoEqhGeOUg X-IPAS-Result: ArQBAJmX81HU4xELm2dsb2JhbABagzu4eoUygRYWDgEBAQEBBgsLCRQogiQBAQU6TwsYCSUPBSg0h30BFgivAR+JFpAEFoMAbwOXXoEqhGeOUg X-IronPort-AV: E=Sophos;i="4.89,756,1367964000"; d="scan'208";a="27512440" Received: from mout.web.de ([212.227.17.11]) by mail2-smtp-roc.national.inria.fr with ESMTP; 27 Jul 2013 11:51:52 +0200 Received: from frosties.localnet ([95.208.119.3]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LfAsW-1UIgyW0JUe-00ooI2 for ; Sat, 27 Jul 2013 11:51:52 +0200 Received: from mrvn by frosties.localnet with local (Exim 4.80) (envelope-from ) id 1V31AE-0001Nl-Ou for caml-list@inria.fr; Sat, 27 Jul 2013 11:51:50 +0200 Date: Sat, 27 Jul 2013 11:51:50 +0200 From: Goswin von Brederlow To: caml-list@inria.fr Message-ID: <20130727095150.GB4948@frosties> References: <51ECF4EB.1060301@libertysurf.fr> <1672419877.217810363.1374484053368.JavaMail.root@zimbra27-e5.priv.proxad.net> <20130723153956.605104b3@xivilization.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Provags-ID: V03:K0:t+KH3czC6VNmzJ1swRqS1zmHcwEFq41p9m+Of6/KBdpgBi3oPf2 1QQx+5K4WJibx3J68/i/DfFjIMY7C2R1yEQIfrPRPKf6oozIyCP7nFyuoatn6BXTeR2ffxZ 6zdCaX2YMZZTZp6ZBW81NNfG3+rbjoE4vUdTMhfVpOfPeg6VT3dYyAXUD3zXIkBhlS4qtYw V0WFTXvR1+B3CkiQMR62g== Subject: Re: [Caml-list] which ocaml build system On Thu, Jul 25, 2013 at 02:45:02PM -0700, Martin DeMello wrote: > On Tue, Jul 23, 2013 at 6:39 AM, Marek Kubica wrote: > > > >> I would like to gather thoughts on that in the ocaml.org website, > >> because actually its advice is 'make + OcamlMakefile' and 'Omake', > >> and I am not sure it is the best advice. > > > > I suppose this advice used to be good, but today maybe not as much > > anymore. > > I have an old (and fairly small) project that I've tried at least > thrice to migrate off OcamlMakefile to something more > modern/ocaml-specific, and failed each time (after spending 1-2 > evenings on it). I'll give it another go and report back on my > experience, but at least historically OCamlMakefile was the easiest > thing to get up and running. > > You can see the pretty simple makefile here: > https://github.com/martindemello/varix/blob/master/makefile - I can't > remember exactly what difficulties I had with ocamlbuild and omake > now. > > martin I vote for oasis. Its kind of a meta build system in that it then generates you a Makefile, configure, setup.ml, myocamlbuild.ml (in my case) and _tags to do the actual building. It can build libraries, packed and not packed, binaries and test suites with verry little input. It generates META files for libs and handles build dependencies on other libs or libs from part of the same source. The generated files can also be extended in case you need something oasis doesn't know about. Never had the need for that yet. MfG Goswin