-
Notifications
You must be signed in to change notification settings - Fork 416
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
[coq_rules] Refactor boot flag handling. #5866
Conversation
5411b54
to
19adc78
Compare
Actually let me enforce that last invariant. |
19adc78
to
e1c2d47
Compare
f1165e9
to
8015d8e
Compare
9c54c71
to
d9a9564
Compare
I think this is ready, let me know folks if you have any further comment. |
@ejgallego Shouldn't you rebase rather than merge? |
@Alizter that was github's auto-stuff , let me see. |
8eb207f
to
dcf7510
Compare
Instead of doing an special case in Coq_lib, we handle the boot library directly in the flags. This allows us to handle coqdoc-specific flags related to `-boot`, and is more in line with what we expect the future theory model will be. Downside is that `-boot` is now not included in the closure dep, but that seems fine, actually we should forbid `(boot)` libraries from declaring `(theories ...)` deps, but as we are getting rid of it eventually maybe it is not worth the effort. Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
dcf7510
to
71a5da8
Compare
Ping @Alizter @rgrinberg , or can I just merge? |
@ejgallego I'll take another look. |
@ejgallego Looks good to me |
This PR has a bug 🤦 , we forgot to include the ML flags of the boot theory. Will fix |
Should fix a bug introduced in ocaml#5866 , the handling of boot Coq lib really needs to be done at the top level as coqdep's `source_rule` etc... need to be aware of it.
Should fix a bug introduced in ocaml#5866 , the handling of boot Coq lib really needs to be done at the top level as coqdep's `source_rule` etc... need to be aware of it.
Should fix a bug introduced in ocaml#5866 , the handling of boot Coq lib really needs to be done at the top level as coqdep's `source_rule` etc... need to be aware of it.
…oduced in ocaml#5866) Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
Should fix a bug introduced in ocaml#5866 , the handling of boot Coq lib really needs to be done at the top level as coqdep's `source_rule` etc... need to be aware of it. Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
Should fix a bug introduced in ocaml#5866 , the handling of boot Coq lib really needs to be done at the top level as coqdep's `source_rule` etc... need to be aware of it. Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
…oduced in #5866) Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
Should fix a bug introduced in #5866 , the handling of boot Coq lib really needs to be done at the top level as coqdep's `source_rule` etc... need to be aware of it. Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
Instead of doing an special case in Coq_lib, we handle the boot
library directly in the flags.
This allows us to handle coqdoc-specific flags related to
-boot
, andis more in line with what we expect the future theory model will be.
Downside is that
-boot
is now not included in the closure dep, butthat seems fine, actually we should forbid
(boot)
libraries fromdeclaring
(theories ...)
deps, but as we are getting rid of iteventually maybe it is not worth the effort.