From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Hermes.metastack.local (172.16.0.8) by Hermes.metastack.local (172.16.0.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Mailbox Transport; Wed, 7 Feb 2024 10:06:37 +0000 Received: from Hermes.metastack.local (172.16.0.8) by Hermes.metastack.local (172.16.0.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 7 Feb 2024 10:06:37 +0000 Received: from exchange.romulus.metastack.com (172.16.0.21) by Hermes.metastack.local (172.16.0.8) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.2507.32 via Frontend Transport; Wed, 7 Feb 2024 10:06:37 +0000 Received: from romulus.metastack.com ([172.16.0.20]) by exchange.romulus.metastack.com (8.14.2/8.14.2) with ESMTP id 417A748o009278 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Feb 2024 10:07:04 GMT Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id 417A6vJL009257 for ; Wed, 7 Feb 2024 10:06:58 GMT Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 07 Feb 2024 11:06:57 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id AC8F1E0CDD; Wed, 7 Feb 2024 11:06:56 +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 1ADF4E008A for ; Wed, 7 Feb 2024 11:06:52 +0100 (CET) Received: from zcs-store1.inria.fr ([128.93.142.28]) by mail2-relais-roc.national.inria.fr with ESMTP; 07 Feb 2024 11:06:52 +0100 From: Florian Angeletti To: caml-list Subject: [Caml-list] First alpha release of OCaml 5.2.0 Thread-Topic: First alpha release of OCaml 5.2.0 Thread-Index: KuH15Xrfj0w7cAgGbhniega0brreZA== Sender: "caml-list-request@inria.fr" X-MS-Exchange-MessageSentRepresentingType: 2 Date: Wed, 7 Feb 2024 10:06:51 +0000 Message-ID: <1337469696.7444873.1707300411976.JavaMail.zimbra@inria.fr> Keywords: Sent to dra-news@metastack.com,Marked bulk,MetaStack - Lists,MetaStack List-Help: List-Subscribe: List-Unsubscribe: Reply-To: Florian Angeletti Content-Language: en-GB X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: Hermes.metastack.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-Network-Message-Id: 8f9c5bca-1bc3-49b1-5c1a-08dc27c478dc X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 x-scanned-by: MIMEDefang 2.65 on 62.31.23.242 x-originating-ip: [128.93.162.3] received-spf: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@sympa.inria.fr) identity=helo; client-ip=128.93.162.160; receiver=mail2-relais-roc.national.inria.fr; envelope-from="caml-list-owner@inria.fr"; x-sender="postmaster@sympa.inria.fr"; x-conformance=spf_only x-ironport-av: E=Sophos;i="6.05,250,1701126000"; d="scan'208,217";a="150730989" x-loop: caml-list@inria.fr x-no-archive: yes Content-Type: text/html; charset="iso-8859-1" Content-ID: <5ABA1340B9826246AFCCE0E5E68E0B0C@metastack.local> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0
Two months after the release of OCaml 5.1.1, the set of new features f= or the
future version 5.2.0 of OCaml has been frozen. We are thus happy to announc= e the
first alpha release for OCaml 5.2.0.

This alpha version is here to help fellow hackers join us early in our bug<= br> hunting and opam ecosystem fixing fun (see below for the installation
instructions). More information about the whole release process is now avai= lable
in the compiler repository at https://github.com/ocaml/ocaml/blob/trunk/release-info/introduction.md,=
and we will try to propagate this information to ocaml.org shortly.

The progresses on stabilising the ecosystem are tracked on the opam readine= ss
for 5.2.0 meta-issue at https://github.com/ocaml/opam-repository/issues/251= 82.

The full release is expected around April.

If you find any bugs, please report them on OCaml's issue
tracker (https://github.com/ocaml/ocaml/issues).

If you are interested in the ongoing list of new features and bug fixes, th= e
updated change log for OCaml 5.2.0 is available on
GitHub at https://github.com/ocaml/ocaml/blob/5.2/Changes.

Installation Instructions
-------------------------------

The base compiler can be installed as an opam switch with the following com= mands
on opam 2.1 and later:

     opam update
     opam switch create 5.2.0~alpha1

For previous version of opam, the switch creation command line is slightly = more
verbose:

    opam update
    opam switch create 5.2.0~alpha1 --repositories=3Ddefault= ,beta=3Dgit+https://github.com/ocaml/ocaml-beta-repository.git

The source code for the alpha is also available at these addresses:

* GitHub: https://github.com/ocaml/ocaml/archive/5.2.0-alpha1.tar.gz
* OCaml archives at Inria: https://caml.inria.fr/pub/distrib/ocaml-5.2/ocam= l-5.2.0~alpha1.tar.gz

Fine-Tuned Compiler Configuration
-----------------------------------------------

If you want to tweak the configuration of the compiler, you can switch to t= he
option variant with:


    opam update
    opam switch create <switch_name> ocaml-variants.5.= 2.0~alpha1+options <option_list>

where `option_list` is a space separated list of `ocaml-option-*` packages.= For
instance, for a flambda and no-flat-float-array switch:

    opam switch create 5.2.0~alpha1+flambda+nffa oca= ml-variants.5.2.0~alpha1+options ocaml-option-flambda ocaml-option-no-f= lat-float-array

The command line above is slightly more complicated for opam version anteri= or to
2.1:

    opam update
    opam switch create <switch_name> --packages=3Docam= l-variants.5.2.0~alpha1+options,<option_list> --repositories=3Dde= fault,beta=3Dgit+https://github.com/ocaml/ocaml-beta-repository.git

In both cases, all available options can be listed with `opam search ocaml-= option`.