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 sympa.inria.fr (Postfix) with ESMTPS id 204AC820A2 for ; Mon, 9 Sep 2013 10:35:12 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of berenger@riken.jp) identity=pra; client-ip=134.160.33.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of berenger@riken.jp designates 134.160.33.176 as permitted sender) identity=mailfrom; client-ip=134.160.33.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@postman.riken.jp designates 134.160.33.176 as permitted sender) identity=helo; client-ip=134.160.33.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="postmaster@postman.riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao4CAHmHLVKGoCGwh2dsb2JhbABbwzCCdYEzDgEBAQoLCQcWKIIlAQEFOEARCxgJFg8JAwIBAgFFEwgBARWHacUgjjGBVhaEBwOJM45ChiyOaQ X-IPAS-Result: Ao4CAHmHLVKGoCGwh2dsb2JhbABbwzCCdYEzDgEBAQoLCQcWKIIlAQEFOEARCxgJFg8JAwIBAgFFEwgBARWHacUgjjGBVhaEBwOJM45ChiyOaQ X-IronPort-AV: E=Sophos;i="4.90,866,1371074400"; d="scan'208";a="32045878" Received: from postman4.riken.jp (HELO postman.riken.jp) ([134.160.33.176]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Sep 2013 10:35:09 +0200 Received: from postman.riken.jp (postman4.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id CDAF48280DF for ; Mon, 9 Sep 2013 17:35:07 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id A330E7F803F for ; Mon, 9 Sep 2013 17:35:07 +0900 (JST) Message-ID: <522D883A.2020105@riken.jp> Date: Mon, 09 Sep 2013 17:35:06 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: caml-list@inria.fr References: <5229DEF9.7040706@inria.fr> <522A0336.7030203@inria.fr> <522D8605.1050603@frisch.fr> In-Reply-To: <522D8605.1050603@frisch.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.9.9.82416 Subject: Re: [Caml-list] Accelerating compilation On 09/09/2013 05:25 PM, Alain Frisch wrote: > On 09/06/2013 06:30 PM, Xavier Leroy wrote: >> - Make sure the .opt compilers (ocamlc.opt, ocamlopt.opt) are >> installed. They are significantly faster than their non-.opt >> counterparts, and some Linux distros package the .opt compilers >> separately and don't install them by default. > > Shouldn't we change the official installation procedure (from sources), > so that the .opt compilers are installed as "ocamlc" and "ocamlopt" (not > "ocamlc.opt", "ocamlopt.opt") when they are available? And suggest to > do the same for distribution packages? It would make the life of other > projects easier if they could just call "ocamlc" without having to check > if "ocamlc.opt" is available or not. I vote for, especially if ocamldoc is not forgotten in the process (its .opt version is 6 times faster on batteries' ocamldoc).