-
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 coq-native package flag & Update coq flags (native-compiler + flambda) #16887
Conversation
Commit: 507151a @erikmd has posted 4 contributions. ☀️ All lint checks passed 507151a
☀️ Installability check (+1)
|
@erikmd I'm missing context, sorry. Doesn't this PR completely disable |
@maximedenes That's exactly the intention; the right context for "why?" is coq/coq#12757. |
I guess we should wait for the discussion on coq/coq#12757 to play out before this is merged? |
For the sake of consistency, should the Edit: I suppose it would introduce a circular dependency. So, instead, should it be marked |
I'm not sure it's needed: |
On second thought, installing |
* Fix linting issues as well
for coq >= 8.7, provided {ocaml:version >= "4.07"} Related: - coq/coq#12757 - coq/coq#540 - https://caml.inria.fr/pub/docs/manual-ocaml/flambda.html
PR updated − don't merge yet though |
These opam packages are currently used as templates for releases. Only done for 8.12 and dev, which will be used in the future. The resulting packages are safer and slower (for flambda users); fixing that will require a more proper fix (such as ocaml/opam-repository#16887).
FYI: this will need rebasing over the (more urgent) #16908. |
These opam packages are currently used as templates for releases. See discussion at ocaml/opam-repository#16908 and ocaml/opam-repository#16876 (comment). Only done for 8.12 and dev, which will be used in the future. The resulting packages are safer and slower (for flambda users); fixing that will require a more proper fix (such as ocaml/opam-repository#16887).
These opam packages are currently used as templates for releases. See discussion at ocaml/opam-repository#16908, ocaml/opam-repository#16876 (comment) and coq/coq#11178 (comment). Only done for 8.12 and dev, which will be used in the future. The resulting packages are safer and slower (for flambda users); fixing that will require a more proper fix (such as ocaml/opam-repository#16887).
@erikmd I am going to close this since it keeps rebuilding dozens of instances of coq every night. Feel free to reopen it if you need to test something or there are new progresses. @kit-ty-kate it would be useful to have a label to notify the CI to not test a PR until further notice and not re-test an already tested PR, it would avoid us closing PRs to avoid overloading the system |
@@ -33,6 +36,9 @@ build: [ | |||
"-libdir" "%{lib}%/coq" | |||
"-datadir" "%{share}%/coq" | |||
"-coqide" "no" | |||
"-flambda-opts" {ocaml:version >= "4.07"} | |||
"-O3 -unbox-closures" {ocaml:version >= "4.07"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be safe, should this be 4.07.1? We have much less QA on 4.07 AFAIK.
Implements the packaging strategy described in coq/coq#12757
In particular, I inserted a conditional line (
-native-compiler (yes|no)
) in all coq releases supporting native_compute for the sake of uniformity (i.e.,coq {>= "8.5"}
), and this thereby amounts to changing the packaging specification of 25 versions of Coq. (Hopefully this large number ofopam
files touched does not raise an issue w.r.t. opam-repository's CI)Cc @maximedenes @Blaisorblade could one of you (ideally both! :) have a look at my PR to be sure everything looks fine from a coq /
native_compute
perspective?