-
Notifications
You must be signed in to change notification settings - Fork 670
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
[coqdep] Be more deterministic w.r.t. the plugin loading mode #16658
Conversation
If the legacy mode is set, we don't even attempt to use findlib to resolve anything, we also won't emit a META dependency, even if this dependency is in scope. This is morally the right thing to do, should reduce non-determinism, and helps a bit to isolate the legacy code more. This should help with problems such as ocaml/dune#5833
@ejgallego I wanted to try out this change, but for my setup I can (for now) only use the |
@rlepigre That's a good point, I think this patch will need to be backported separately. AFAIK most of the coqdep changes were refactorings rather than behavioral changes. |
After giving it another look, it is indeed not too hard to backport. I'll check if that solves my problem. Thanks! |
@coqbot run full ci |
[coqdep] Be more deterministic w.r.t. the plugin loading mode If the legacy mode is set, we don't even attempt to use findlib to resolve anything, we also won't emit a META dependency, even if this dependency is in scope. This is morally the right thing to do, should reduce non-determinism, and helps a bit to isolate the legacy code more. This should help with problems such as ocaml/dune#5833 Co-authored-by: Emilio Jesús Gallego Arias <[email protected]>
[coqdep] Be more deterministic w.r.t. the plugin loading mode If the legacy mode is set, we don't even attempt to use findlib to resolve anything, we also won't emit a META dependency, even if this dependency is in scope. This is morally the right thing to do, should reduce non-determinism, and helps a bit to isolate the legacy code more. This should help with problems such as ocaml/dune#5833 Co-authored-by: Emilio Jesús Gallego Arias <[email protected]>
@coqbot run full ci |
CI looks good, color failure due to native compiler problem, vst got killed. |
@coqbot merge now |
@Alizter: You cannot merge this PR because:
|
@coqbot merge now |
If the legacy mode is set, we don't even attempt to use findlib to resolve anything, we also won't emit a META dependency, even if this dependency is in scope.
This is morally the right thing to do, should reduce non-determinism, and helps a bit to isolate the legacy code more.
This should help with problems such as
ocaml/dune#5833