Commit 6cb30e2
committed
Vendor OCaml Migrate ParseTree.
Summary:
Problem: There exists reason packages in the wild that have `omp: *` as a
dependency. A new breaking change was released in omp 2.0.0. We cannot
compile against it. We also cannot upgrade to the intended replacement
for the old functionality we were using `ppxlib` because it doesn't
support older versions of omp.
The only solution is to vendor. This should unbreak existing libraries
that depend on older versions of Reason.
We should have had a constraint of `omp: < 2.0.0`, but even in that case
the package ecosystem essentially breaks because it splits into two
sides - ones that can use 2.0.0 omp and ones that cannot. Vendoring omp
solves that problem. It might not work during the next compiler upgrade
though (estimated six months).
Test Plan:
Reviewers:
CC:1 parent cd06d0e commit 6cb30e2
File tree
208 files changed
+76751
-78
lines changed- esy.lock
- reason.esy.lock
- opam
- base-threads.base
- base-unix.base
- biniou.1.2.1
- conf-m4.1
- cppo.1.6.6
- dune.2.6.2
- easy-format.1.3.2
- fix.20200131
- menhir.20200624
- menhirLib.20200624
- menhirSdk.20200624
- merlin-extend.0.6
- ocaml-secondary-compiler.4.08.1-1
- files
- ocamlfind-secondary.1.8.1
- files
- ocamlfind.1.8.1
- files
- ppx_derivers.1.2.1
- result.1.5
- yojson.1.7.0
- overrides
- opam__s__dune_opam__c__2.6.2_opam_override
- opam__s__ocaml_secondary_compiler_opam__c__4.08.1_1_opam_override
- files
- opam__s__ocamlfind_opam__c__1.8.1_opam_override
- files
- opam__s__ocamlfind_secondary_opam__c__1.8.1_opam_override
- files
- src
- ocaml-migrate-parsetree-v1.7.3-old
- ppx
- reason-parser-tests
- reason-parser
- refmt
- rtop
- vendored-ocaml-migrate-parsetree-v1.7.3
- examples
- omp_ppx_define
- omp_ppx_here
- omp_ppx_parse
- ocaml-migrate-parsetree.esy.lock
- opam
- base-threads.base
- base-unix.base
- conf-m4.1
- dune.2.6.2
- ocaml-secondary-compiler.4.08.1-1
- files
- ocamlfind-secondary.1.8.1
- files
- ocamlfind.1.8.1
- files
- ppx_derivers.1.2.1
- result.1.5
- overrides
- opam__s__dune_opam__c__2.6.2_opam_override
- opam__s__ocaml_secondary_compiler_opam__c__4.08.1_1_opam_override
- files
- opam__s__ocamlfind_opam__c__1.8.1_opam_override
- files
- opam__s__ocamlfind_secondary_opam__c__1.8.1_opam_override
- files
- src
- compiler-functions
- config
- test/driver
- manual
- null
- ppx-user
- ppx1
- ppx2
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
208 files changed
+76751
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
10 | 18 | | |
11 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments