Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor OCaml Migrate ParseTree. #2623

Merged
merged 1 commit into from
Aug 17, 2020
Merged

Vendor OCaml Migrate ParseTree. #2623

merged 1 commit into from
Aug 17, 2020

Conversation

jordwalke
Copy link
Member

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:

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants