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 6E06A7F75C for ; Wed, 10 Sep 2014 15:01:00 +0200 (CEST) Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of simon.cruanes.2007@m4x.org designates 91.121.62.107 as permitted sender) identity=pra; client-ip=91.121.62.107; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="SRS0=huDG=6D=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-sender="simon.cruanes.2007@m4x.org"; x-conformance=sidf_compatible; x-record-type="spf2.0" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of SRS0=huDG=6D=m4x.org=simon.cruanes.2007@bounces.m4x.org designates 91.121.62.107 as permitted sender) identity=mailfrom; client-ip=91.121.62.107; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="SRS0=huDG=6D=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-sender="SRS0=huDG=6D=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-conformance=sidf_compatible; x-record-type="spf2.0" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@mx3.polytechnique.org designates 91.121.62.107 as permitted sender) identity=helo; client-ip=91.121.62.107; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="SRS0=huDG=6D=m4x.org=simon.cruanes.2007@bounces.m4x.org"; x-sender="postmaster@mx3.polytechnique.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhICAKZKEFRbeT5rgGdsb2JhbABZg2CDU8cziGQWEAEBCRYHQIQEAQQBI1YFCwshIQICDwVJJweIHwgEqE+VIhiOdYNYNoEdBZVxhwGBYJcygXCBSQEBAQ X-IPAS-Result: AhICAKZKEFRbeT5rgGdsb2JhbABZg2CDU8cziGQWEAEBCRYHQIQEAQQBI1YFCwshIQICDwVJJweIHwgEqE+VIhiOdYNYNoEdBZVxhwGBYJcygXCBSQEBAQ X-IronPort-AV: E=Sophos;i="5.04,499,1406584800"; d="scan'208";a="93957567" Received: from mx3.polytechnique.org ([91.121.62.107]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 10 Sep 2014 15:00:59 +0200 Received: from emmental.inria.fr (emmental.inria.fr [128.93.0.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 4737D1E0958; Wed, 10 Sep 2014 15:00:58 +0200 (CEST) Date: Wed, 10 Sep 2014 15:00:56 +0200 From: Simon Cruanes To: Yotam Barnoy Cc: Ocaml Mailing List Message-ID: <20140910130056.GB11207@emmental.inria.fr> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s2ZSL+KKDSLx8OML" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-AV-Checked: ClamAV using ClamSMTP at mx3.polytechnique.org (Wed Sep 10 15:00:58 2014 +0200 (CEST)) X-Spam-Flag: No, tests=bogofilter, spamicity=0.075686, queueID=639FA1E098F X-Org-Mail: simon.cruanes.2007@polytechnique.org Subject: Re: [Caml-list] One build system to rule them all? --s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'd suggest oasis, based on my limited experience (I don't compile C bindings nor to js_of_ocaml, but I write libraries, sub-libraries, and programs that use ocamlfind). Le Wed, 10 Sep 2014, Yotam Barnoy a =C3=A9crit : > It appears to me that every couple of months we hear of someone > implementing yet another build system in ocaml. Given the success of opam, > I think it's clear that sometimes a monolithic solution, behind which the > entire community can organize, is the best solution -- especially for > infrastructure. Looking at haskell, having cabal as the main build system > has really helped them advance in terms of supporting other platforms (su= ch > as windows), and since all community efforts in this realm are focused on > cabal, they can improve it rapidly. >=20 > a. Is there any build system we can organize behind to crown as the > official build system? I like oasis a lot, especially the fact that every information related to a project is written down in a single file. It can generate documentation, libraries, executables, ocamlfind-related files (META...), configure/Makefile, and run tests. Even if oasis isn't blessed as the canonical build system, its project description should be a good model for the winner. > b. What are the use-cases missing from specific build systems, that have > driven people to use other build systems? > c. To pick one possible candidate, if ocamlbuild were spun out of the > compiler, could it be enhanced to cover all the main use-cases so (almost) > everyone would be happy with it? In the case of oasis, it already relies on ocamlbuild, so both could be merged somehow (and the redundancies, hopefully, removed)... > It's just such a shame to see the ocaml community re-inventing the wheel > over and over again, each time with some limitation so that the next pers= on > needs to do the same thing yet again. My 2 =C2=A2 --=20 Simon full disclosure: I don't have any interest in promoting oasis, nor have I been paid (sadly) to do so ;) http://weusepgp.info/ key 49AA62B6, fingerprint 949F EB87 8F06 59C6 D7D3 7D8D 4AC0 1D08 49AA 62B6 --s2ZSL+KKDSLx8OML Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUEEuIAAoJEErAHQhJqmK2B9QP/Re24Uw6haBjo1n5UstqDdig vGLzIO30IENFfpkK/VWf2K3dBepG4os/E8P+yMr0fTR9W47y14d1V2Q2YOqn+Bn+ UmA1PtwoYD7wTsQaD5Xypq7ETtzhp7krGn00IXzRwEUX7Dd5gdRhsdDBC4q3pIuh BIESykXvDhqBAvbhKUrVq6JnvSjE0oDuTbN+QT6Dze64Tmqxolzq02TEGPjT0lEL 70GaOGbwil+BHWa8mN7cWFxFKU4DeSlUa/4nqBNP+JeXSNAcI5vhPMjg3Jc1HpBA EwQoAk6AqPY5lN4r/rN9UUAKu9aZ2L3YTU+sUV63RgsbBN7ueeAtA8DMbNfIGYrU ovqnAraIAyOhvRycP/bjhWgx/fDYINaf3Nua0Wz4Gv/sw858NCmwQItIScJh13j/ EgHM0NH3LqiJB0j6YzmdFffpAdhv6OFZNk+xlGrsBOwoTq/hvwNznuZ0XS0Z2ujd uJI4foQkGuccYP5WPwf8orDTJkYYiElDRuWg9sH4uiNTmsOmE+fvB1fs+4PCZK2l 2mnCHmZ555ecy3ocWSYddOy1ffBfKLilNt3FRAKc6tc0R+worBDdBVK9W806QuYP gO7kJLgWTofwhFKY8nGLOyN15mmsz1zEQvqzagZqRsos/lAncqtuMNysF91Y7yfO QakPBwmyrkG/x80G3VAw =ib2x -----END PGP SIGNATURE----- --s2ZSL+KKDSLx8OML--