From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id 220615D5 for ; Mon, 26 Nov 2018 16:41:18 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.56,283,1539640800"; d="scan'208,217";a="357430147" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 26 Nov 2018 17:41:16 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id 69C3E82555; Mon, 26 Nov 2018 17:41:16 +0100 (CET) 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 8CD94824CF for ; Mon, 26 Nov 2018 17:41:09 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=yawar.amin@gmail.com; spf=Pass smtp.mailfrom=yawar.amin@gmail.com; spf=None smtp.helo=postmaster@mail-it1-f181.google.com IronPort-PHdr: =?us-ascii?q?9a23=3AzKJeWRwL9HzLGIXXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?2+gWIJqq85mqBkHD//Il1AaPAd2Lraocw8Pt8InYEVQa5piAtH1QOLdtbDQizf?= =?us-ascii?q?ssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1?= =?us-ascii?q?JuPoEYLOksi7ze+/94HQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeu?= =?us-ascii?q?BWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbO?= =?us-ascii?q?SxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiS?= =?us-ascii?q?cIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CSmVBUMReWSxPDI2/?= =?us-ascii?q?coUBEfYOMP1CoIXhvVYDtweyCRWuCe7p1zRGhmX23ao/0+k5Ew7JxgIhEMgUsH?= =?us-ascii?q?/JsNj1MaYSUeaox6TPzTTMdf1X1i3n6ITSaB8hpPCMXbRrfMrezEkgDQLFjlGK?= =?us-ascii?q?pYP5ODOV0/0Avm6G5ORuUuKvjnQoqwB3ojW3wccjlpPGhocRylze8iV52ok1Kc?= =?us-ascii?q?W5SE59e96kEYFfuzuUN4tsWs8iTGBouDo6yr0bopG3ZjQFyJMixxPZdveJcJCI?= =?us-ascii?q?7wr9WOqNJTp0nnFodbKlixqv8EWty/fwWtS33VpXqCdOj8PCuWoX1xPJ78iKUv?= =?us-ascii?q?t98Vml2TaIzw3T7/tLIUEwlabCKp4h3qM8moMdsUjeHSL6hV/6jKCRdkUj9eio?= =?us-ascii?q?7/robq/6qZ+bMo94kgD+MqIwlcyjGek0LBQCUmyB9em/1LDv51D1TbRLg/Esj6?= =?us-ascii?q?XUs43WKdwepqGjAg9V1ogj6wy4DzejyNkZnWMILVxfdxKdlYTmIVTOIPH+Dfqk?= =?us-ascii?q?jFSslS1kx/HCPrH7HprNKX3DnK/7fblh805c1BYzzddH6p1IEL4BJfbzVlb1tN?= =?us-ascii?q?zZFR85Lxe5w/3nCdV4zoMRQ3iDAq6fMKPIsF+H/PgjI+eWZNxdhDGoLPwk+fP0?= =?us-ascii?q?pXE4g0QBO6ivmJEacnS5GLJqLha3e33p1+YIDm4Q9iM7Teqi3EyLTjdJIX+3Xq?= =?us-ascii?q?QU6TQyCYbgBoDGENP+yIed1Tu2S8UFLltNDUqBRDKxL93dCqU8LRmKK8okqQQq?= =?us-ascii?q?EL2oSosvzxar7VaoxL9uL+6S8Sod58u6iIpFotbLnBR3zgRaStyH2jjUHW5xl2?= =?us-ascii?q?IMATQx2fIn+BEv+hK4yaF9xsdgO5lT6vdOCFloMJfdy6l7F4m3VFuRJ5GGT1Gp?= =?us-ascii?q?RtjgCjY0HIo8?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ClBgBzIfxbhrWmVdFkHgEGBwaBZYFbT?= =?us-ascii?q?kFPMyeDeYEdgl6QH4INiguPKw0jgVSCdQKEIRoHAQQ0EgEDAQECAQEBAQETAQE?= =?us-ascii?q?BCAsLCBsOIwyCNiQBgmIBAgIBIx0BGxILAQMBCwYFCxoJAQESAgIiAREBBQEcG?= =?us-ascii?q?RmDCAGBaAEDDQgPmjc8iw2BEgUBF4J3BYQzChknDVqBNwIGEot3gVc/gRGCZC6?= =?us-ascii?q?DGwICgTdVGwIFgjWCVwKJLIZkj3IHAoIcBIQbQYYgG4N4GIImjmKCeIpLil4PI?= =?us-ascii?q?YETKYF2MxojUDGCOwmCEhqBCAECgkiBPoNWhVwkMIo3DRUCgicBAQ?= X-IPAS-Result: =?us-ascii?q?A0ClBgBzIfxbhrWmVdFkHgEGBwaBZYFbTkFPMyeDeYEdgl6?= =?us-ascii?q?QH4INiguPKw0jgVSCdQKEIRoHAQQ0EgEDAQECAQEBAQETAQEBCAsLCBsOIwyCN?= =?us-ascii?q?iQBgmIBAgIBIx0BGxILAQMBCwYFCxoJAQESAgIiAREBBQEcGRmDCAGBaAEDDQg?= =?us-ascii?q?Pmjc8iw2BEgUBF4J3BYQzChknDVqBNwIGEot3gVc/gRGCZC6DGwICgTdVGwIFg?= =?us-ascii?q?jWCVwKJLIZkj3IHAoIcBIQbQYYgG4N4GIImjmKCeIpLil4PIYETKYF2MxojUDG?= =?us-ascii?q?COwmCEhqBCAECgkiBPoNWhVwkMIo3DRUCgicBAQ?= X-IronPort-AV: E=Sophos;i="5.56,283,1539640800"; d="scan'208,217";a="357430101" Received: from mail-it1-f181.google.com ([209.85.166.181]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 26 Nov 2018 17:41:08 +0100 Received: by mail-it1-f181.google.com with SMTP id z7so11704239iti.0 for ; Mon, 26 Nov 2018 08:41:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=La4UmBjWezP27hB4ZaA3Q6Oqny05ZHCR2EeQMwQoe2c=; b=gjBsz54c5sef6YEjy06PrDnspaZn+PMerVS1tM0T1D4J/y75ZrQgAe23JaIRdUbu91 f5p/xEb/RGnG5t8O1t1lwKFjMKA+TYFvAvwFR0QoQszcrFZxdGVkmweRYKPV8B+pC0mu kpI3hmDIDjZ6NGkb+C+tp4EfIbVVLp5D3kcJudKxXcjvWTznQGGfxXKpyQeKNGU+a/fC SuBD4ci9mQYUqM4faJU6t2VuGhtjzniSERmkmrInygtNo3OCyiE9EeRBZSh5el2gFElI LSwxFV+p7z/WPRLsrlk+Zll+eWmNyn/uZ14QJlwObXs+ibfEvUHPrj6wc4tTbwZMKKEf manQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=La4UmBjWezP27hB4ZaA3Q6Oqny05ZHCR2EeQMwQoe2c=; b=DO65dYAHP/WcOfUysob+0qWnsFzlnK9vj+1Cj/50nlenXymXXohiDX9+gWdqn9k6NT ChkmWuLafvGBhPSP81THoEJeLDfN0DuSFIVP93Aal5ReTiWIYgcXCdqaBnZU1KMsyRGM wQcwgfL6iWgnuwp0zeuT70uKgWoppCwjuzTSwh66520RDNt+u8T52q7OIFD/TGEGltET qF/N5z910JOT0mC1/7Smv0VabZwLsosdUePxUizxD3RHVpl07pChkEGR9VrK3xWM+/YW fl8EKZ4JzV81FxNci33q0rMDswhqP7bFbtxs11d7XzOZSWTCNdrSpa2jvEABh3/7yO0M crcA== X-Gm-Message-State: AA+aEWbzbGXw6Ifp5kmxAx64BJ8XLc477JadHHDCoWAHZhtzDI/lOx5/ FIQf4vygBQjBDZ+szstmzcGPo9tpKEI5vy2VY1Zvr7N46A== X-Google-Smtp-Source: AFSGD/UYJODn/bk2PLx5cP2/2Qr+pmShIMhvzXttCOhC0dsBTS2uaZJOy7T0Qkl7hufwpqDjSkrLqClc9cnbjaEOU0c= X-Received: by 2002:a24:7906:: with SMTP id z6mr4387554itc.124.1543250466801; Mon, 26 Nov 2018 08:41:06 -0800 (PST) MIME-Version: 1.0 References: <20181126101448.3ee5jgz4c6ulsbbr@first.in-berlin.de> In-Reply-To: <20181126101448.3ee5jgz4c6ulsbbr@first.in-berlin.de> From: Yawar Amin Date: Mon, 26 Nov 2018 11:41:00 -0500 Message-ID: To: oliver@first.in-berlin.de Cc: Ocaml Mailing List Content-Type: multipart/alternative; boundary="000000000000df8ed6057b93fff8" Subject: Re: [Caml-list] Build-/Installation-Tools - not enogh of them? Reply-To: Yawar Amin X-Loop: caml-list@inria.fr X-Sequence: 17144 Errors-to: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --000000000000df8ed6057b93fff8 Content-Type: text/plain; charset="UTF-8" If anyone would like to chime in and say that OCaml build and packaging system is not that complicated, I would recommend first looking at https://github.com/rizo/awesome-ocaml#package-management . IMHO we need to seriously look at consolidating efforts around OPAM for package management, packaging, building, testing and running. All the serious language-specific package managers do it, it's a proven strategy and it simplifies life for the developer. This could be a typical workflow: cd some-ocaml-proj opam install # Switches compiler if necessary and installs and locally caches package dependencies opam build opam run # Automatically builds if necessary opam test # Ditto opam package # Ditto; --upload option can immediately upload to opam opam doc # Builds documentation with ocamldoc or whatever opam login -u user -p password Regards, Yawar On Mon, Nov 26, 2018 at 5:15 AM Oliver Bandel wrote: > Hello, > > a while ago it looked like there were not enough build- and > installation-tools > for OCaml. I remember some discussions about that. > > Now it seems to me that there are a lot of them. > So, developers can pick the one they know about. > > For all these tools there might be good reasons to use them, and those > developers who looked at these tools and choose them for their projects, > will > know them well enough. > > The situation differs, if one wants to package the written software, > and one needs to know many of those tools, just to compile the stuff. > So, when one just wants to compile and install some software, > just for that, it would take much effort to learn the different > build-tools. > > So, packaging has become more complicated, even though for the developers > these tools may save time. > > It would be nice if people who used one of the many new building tools > could provide a Makefile that allows just to type > "make" and "make install", instead of expecting everyone who wants to > compile > the software to first learn just-another-build-tool. > > Also it would be good, to mention early, which installation tools > (make-dependencies) > are in use, and too mention needed packages (opam or others) to just build > the stuff. > > Thanks and regards, > Oliver Bandel > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > https://inbox.ocaml.org/caml-list > Forum: https://discuss.ocaml.org/ > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Caml-list mailing list. Subscription management and archives: https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list Forum: https://discuss.ocaml.org/ Bug reports: http://caml.inria.fr/bin/caml-bugs --000000000000df8ed6057b93fff8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If anyone would like to chime in and say = that OCaml build and packaging system is not that complicated, I would reco= mmend first looking at=C2=A0https://github.com/rizo/awesome-ocaml#package-managem= ent .=C2=A0IMHO we need to seriously look at consolidating efforts arou= nd OPAM for package management, packaging, building, testing and running. A= ll the serious language-specific package managers do it, it's a proven = strategy and it simplifies life for the developer.
This could be a typical workflow:

cd = some-ocaml-proj
opam=C2=A0install # Switches compiler if necessar= y and installs and locally caches package dependencies
opam=C2=A0= build
opam=C2=A0run # Automatically builds if necessary
opam=C2=A0test # Ditto
opam=C2=A0package # Ditto; --upload optio= n can immediately upload to opam
opam=C2=A0doc # Builds documenta= tion with ocamldoc=C2=A0or whatever
opam=C2=A0login -u user -p pa= ssword

Regards,

Yawar

On Mon, Nov 26, 201= 8 at 5:15 AM Oliver Bandel <oliver@first.in-berlin.de> wrote:
Hello,

a while ago it looked like there were not enough build- and installation-to= ols
for OCaml. I remember some discussions about that.

Now it seems to me that there are a lot of them.
So, developers can pick the one they know about.

For all these tools there might be good reasons to use them, and those
developers who looked at these tools and choose them for their projects, wi= ll
know them well enough.

The situation differs, if one wants to package the written software,
and one needs to know many of those tools, just to compile the stuff.
So, when one just wants to compile and install some software,
just for that, it would take much effort to learn the different build-tools= .

So, packaging has become more complicated, even though for the developers these tools may save time.

It would be nice if people who used one of the many new building tools
could provide a Makefile that allows just to type
"make" and "make install", instead of expecting everyon= e who wants to compile
the software to first learn just-another-build-tool.

Also it would be good, to mention early, which installation tools (make-dep= endencies)
are in use, and too mention needed packages (opam or others) to just build = the stuff.

Thanks and regards,
=C2=A0 Oliver Bandel

--
Caml-list mailing list.=C2=A0 Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list htt= ps://inbox.ocaml.org/caml-list
Forum: https://discuss.ocaml.org/
Bug reports: http://caml.inria.fr/bin/caml-bugs
--000000000000df8ed6057b93fff8--