Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Upgrade to Ocaml 4.10 and Core 0.14 (remove OCaml 4.07)#878

Merged
anton-trunov merged 3 commits into
masterfrom
ocaml-4.10
Aug 3, 2020
Merged

Upgrade to Ocaml 4.10 and Core 0.14 (remove OCaml 4.07)#878
anton-trunov merged 3 commits into
masterfrom
ocaml-4.10

Conversation

@anton-trunov

@anton-trunov anton-trunov commented Aug 3, 2020

Copy link
Copy Markdown
Contributor

Disable OCaml 4.07 because the new version of Core is not compatible
with it, hence we are free to use the new features provided by
4.08 (no new feature is used as of now).

Anton Trunov added 3 commits August 3, 2020 11:51
Fix compilation errors and warnings mostly resulting
from the Core upgrade

Disable OCaml 4.07 because the new version of Core is not compatible
with it, hence we are free to use the new features provided by
4.08 (no new feature is used as of now)
Recently Core_kernel switched to
Int.Replace_polymorphic_compare switched on by default
(open Core_kernel already has this effect)

The command I used to deal with the most of changes (GNU sed version, gsed):
find ./src ./tests -type f -iname '*.ml' -print0 | xargs -0 gsed  -i '/^open! Int.Replace_polymorphic_compare/d'

@jjcnn jjcnn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

I've run make and make test using OCaml v4.08.1, and everything seems to check out.

@anton-trunov anton-trunov merged commit 86f796a into master Aug 3, 2020
@anton-trunov anton-trunov deleted the ocaml-4.10 branch August 3, 2020 12:02
vaivaswatha pushed a commit to Zilliqa/scilla-compiler that referenced this pull request Aug 3, 2020
vaivaswatha added a commit to Zilliqa/scilla-compiler that referenced this pull request Aug 3, 2020
* Upgrade to Ocaml 4.10 and Core 0.14 (remove OCaml 4.07)

See Zilliqa/scilla#878

* Fix typo in compiler version 4.10.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants