[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52729] [PATCH v2] gnu: ocaml: Update to 4.13.
From: |
Julien Lepiller |
Subject: |
[bug#52729] [PATCH v2] gnu: ocaml: Update to 4.13. |
Date: |
Thu, 23 Dec 2021 14:01:09 +0100 |
Le Wed, 22 Dec 2021 14:51:49 +0100,
zimoun <zimon.toutoune@gmail.com> a écrit :
> Hi,
>
> On Wed, 22 Dec 2021 at 14:43, Julien Lepiller <julien@lepiller.eu>
> wrote:
>
> > >On a side note, have you tried to replace boot/ocamlc (and
> > >friends) with the bootstrapped ones (camlboot -> ocaml-4.07 -> *).
> > > Other said, what is the most affordable path to exploit camlboot
> > > and have a good
> > >bootstrapping story for OCaml.
> >
> > Currently we can only use camlboot to bootstrap ocaml 4.07, which
> > is what we do. We plan to improve it so it can build newer versions
> > though.
>
> Yes, I remember when discussing the patch adding camlboot and
> ocaml4.07-boot. :-) That's what you explained [1].
>
> Well, a direct bootstrap camlboot -> ocaml-4.13 is better for sure,
> but harder. Instead, my question is: have you tried a chain of
> boostrap: camlboot -> ocaml-4.07 -> ? -> ocaml-4.13. I could be
> temporary solution waiting camlboot improvements, no?
>
> 1: <https://issues.guix.gnu.org/46806#11>
>
>
> Cheers,
> simon
Here's v2 of the patch series: the first two patches build only the
4.07 version for migrate-parsetree@1 and for ppx-tools-versioned. That
way, they don't fail when updating to ocaml 4.13. I checked that
everything builds like before. I still have issues with bap because
llvm@3.8.1 fails.
0001-gnu-ocaml-ppx-tools-versioned-Only-build-ocaml-4.07-.patch
Description: Text Data
0002-gnu-ocaml-migrate-parstree-1-Only-build-ocaml4.07-va.patch
Description: Text Data
0003-gnu-ocaml-Update-to-4.13.patch
Description: Text Data