-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add the switch 5.0.0+tsan #22651
Add the switch 5.0.0+tsan #22651
Conversation
Thanks. Sorry for the wait |
Thank you! |
I'm excited by ThreadSanitized (great work!), but I'm uneasy with having a switch called Could we discuss this with upstream first? |
There is precedent for these 'floating compiler patches' in opam-repository (4.00.1+open-types isn't entirely from a released 4.00, and there are some others mainly from older releases of the compiler), but I do agree with @gasche that it's a good time to tighten up our rules and conventions in this space with how we use the opam repository for this. One approach might would be to request that compiler patches in the opam-repository are extra-files patches that apply over a released version. However, this would not work with compiler changes that require bootstrapping due to the binary files. A property it would be really nice to have in the mainstream opam-repository is for a released compiler, all of our packages do have checksums and not floating git branches. |
Sorry about this—happy to make the changes necessary to better respect naming and tagging conventions. |
@gasche , the MetaOCaml patched compilers were also distributed as But I agree that the use of Maybe it could work to have |
There's work in motion for the variant configurations of the upstream compiler exiting the There's a structural point that's not been explicitly mentioned so far. opam-repository/packages/ocaml/ocaml.5.0.0/opam Lines 10 to 12 in 25e95ca
which is an invasive change for opam 2.0 and 2.1 users (as switches recompile). |
I think we could have an An indirect benefit from not presenting |
This has indeed been a source of worry for me: how to release a new |
This is a new #22627. The difference is that we have fixed a problem in the pointed repo (namely macOS build) and a problem in the present opam file. In addition, this opam file now points to a
5.0.0+tsan
branch, that can be updated with bugfixes, rather than to a fixed tag.This will notably allow this switch to be updated when the final release of OCaml 5.0.0 is out, without requiring a new PR.