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 3A201800DB for ; Wed, 8 Mar 2017 21:59:07 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=whitequark@whitequark.org; spf=Pass smtp.mailfrom=whitequark@whitequark.org; spf=None smtp.helo=postmaster@uruz.whitequark.org Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of whitequark@whitequark.org) identity=pra; client-ip=188.166.218.19; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of whitequark@whitequark.org designates 188.166.218.19 as permitted sender) identity=mailfrom; client-ip=188.166.218.19; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@uruz.whitequark.org) identity=helo; client-ip=188.166.218.19; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="postmaster@uruz.whitequark.org"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3AvovzEh+/naZ2AP9uRHKM819IXTAuvvDOBiVQ1KB9?= =?us-ascii?q?0uocTK2v8tzYMVDF4r011RmSDNidt64P0rGH++C4ACpbvsbH6ChDOLV3FDY7yu?= =?us-ascii?q?wu1zQ6B8CEDUCpZNXLVAcdWPp4aVl+4nugOlJUEsutL3fbo3m18CJAUk6nbVk9?= =?us-ascii?q?Dq3PF4XTl8W60fyps92WOl0QxWn1XbQnBxyzqU31t9IKyd9pI6M1jx/IuWdgeu?= =?us-ascii?q?JMxGouK0jFzDjm4cLl455i7ylJpvs79IYUTqX7Y6khULVCDxw5M2Ep6dT2vAPA?= =?us-ascii?q?CwyV6S1PAS0tjhNUDl2dv1nBVZDrv36/77Il1Q=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0D0CwAucMBY/xPaprxeSAEFAQsBgyZhh?= =?us-ascii?q?BwIRoUIrhYqiD5DFAEBAQEBAQEBAQEBaiiCMwQBHQEEgk4XBAsBBVUFCxECGA4?= =?us-ascii?q?CLjEbiXsKknaNVJAFgWw6iykFgQuFQoxKgl8FiRqGPoxeglyEGos5kScCjx+EH?= =?us-ascii?q?zYhgQNjR4QQAYJDQIh5gU8BAQE?= X-IPAS-Result: =?us-ascii?q?A0D0CwAucMBY/xPaprxeSAEFAQsBgyZhhBwIRoUIrhYqiD5?= =?us-ascii?q?DFAEBAQEBAQEBAQEBaiiCMwQBHQEEgk4XBAsBBVUFCxECGA4CLjEbiXsKknaNV?= =?us-ascii?q?JAFgWw6iykFgQuFQoxKgl8FiRqGPoxeglyEGos5kScCjx+EHzYhgQNjR4QQAYJ?= =?us-ascii?q?DQIh5gU8BAQE?= X-IronPort-AV: E=Sophos;i="5.36,265,1486422000"; d="scan'208";a="263751077" Received: from uruz.whitequark.org ([188.166.218.19]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2017 21:58:52 +0100 Received: by uruz.whitequark.org (Postfix, from userid 1002) id D2D6020E37; Wed, 8 Mar 2017 20:58:47 +0000 (UTC) To: Caml List X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 08 Mar 2017 20:58:47 +0000 From: whitequark Message-ID: X-Sender: whitequark@whitequark.org User-Agent: Roundcube Webmail/1.2.3 Subject: [Caml-list] [ANN] ocamlbuild 0.11.0 Hello all, I'd like to announce the 0.11.0 release of OCamlbuild. OCamlbuild is a build system with builtin rules to easily build most OCaml projects. 0.11.0 (5 Mar 2017): -------------------- OCamlbuild 0.11.0 introduces a change to the way `.cmxs` files are produced when no `.mldylib` file is absent: it will now use the exact same semantics as `.cmxa` and `.mllib` file -- in particular, it should not be necessary anymore to have identical `foo.{mllib,mldylib}` files, only `foo.mllib` should suffice. See the detailed changelog below for details. - #111: added "nostdlib" flag for corresponding ocaml{c,opt} options (Thomas Wood) - #115: add `node_modules` to the list of directories ignored by default (.svn/, CVS/, .bzr/, .hg/, .git/, _darcs/, node_modules/) (Yunxing Dai) - #125, #160: added "-toolchain" option for corresponding ocamlfind option. (whitequark) - #127, #137, #138: install ocamlbuild's man pages, missing since 4.02 (Adam Sampson and Gabriel Scherer) - #130: make sure that -just-plugin always stops after the plugin-build phase (Gabriel Scherer, report by whitequark) * #132, #159: remove the rule ".cmx -> .cmxs" Previously, there was a ".cmx -> .cmxa" rule that would pull a module and its dependencies in a .cmxa, and a separate ".cmx -> .cmxs" rule that would pull only a module as a .cmxs. The latter is a reasonable default choice, the idea being that a module's dependencies may often be statically linked with the program instead of being dynamically linked. But it conflicts with the presence of a rule ".cmxa -> .cmxs" as soon as the library has the same name as one of the modules it contains. The reason why the rule ".cmxa -> .cmxs" matter is that it can be composed with the rule ".mllib -> .cmxa" to build .cmxs files from .mllib files, without having to copy each .mllib file into a separate .mldylib file. In other terms, the previous behaviour would, by default (in absence of .mldylib file who always takes priority), only link the module in the .cmxs file, and people wishing otherwise would have to write a list of modules in a .mldylib file. The new behavior will, by default, take the .mllib file or the module dependencies (as for .cmxa) to build a .cmxs file, and people wishing otherwise will have to write just the module name in a .mldylib file. It is unclear whether this change will break some projects on which users relied on the previous semantics. It seems equally likely that the previous semantics, when it applied, was a source of bugs (the .cmxs files didn't have the expected modules) that would not be discovered by people not testing dynamic linking. Such bugs have been found and fixed in the following cases: - - - (Daniel Bünzli, Jérémie Dimino, Armaël Guéneau, Gabriel Scherer, whitequark) - #124, #136: do not explicitly pass -shared when building shared libraries; let the compiler decide what to build. (whitequark) - #143-171: migration of Mantis bugtracker issues to the github issue tracker (Damien Doligez) - #172-175, #177: setting up Continuous Infrastructure (CI) testsuite checks (whitequark) - #202: install license, changes and readme in opam's docdir for `odig` (Gabriel Scherer, request and review by Daniel Bünzli) - "noautolink" tag for ocaml{c,opt} (Gabriel Scherer) 0.10.{0,1} (Dec 2016): ---------------------- These releases were never widely distributed, because of a quickly-caught regression due to the change of .cmxs compilation behavior (#132), fixed with the help Daniel Bünzli, Jérémie Dimino and, in particular, whitequark. -- whitequark