-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support coq-native by passing through COQEXTRAFLAGS
#21
Conversation
Since coq-interval doesn't build nor install .coq-native files, when coq-native is installed, vcfloat should avoid looking for .coq-native files.
This follows VeriNum/vcfloat#21. If someday coq-interval installs coq-native files, then we should drop this conditional.
What do you mean? CoqInterval does install the
|
|
Since you wrote that CoqInterval is incompatible with Flocq 4.1.2, your list of Opam packages presumably means that you are using custom builds of those, which might explain why native compilation failed. |
Yes, I am using slightly customized builds. But why would the result be a lack of .coq-native files |
According to the GitHub actions run, vcfloat fails to build with coq-native because CompCert fails to install .coq-native files.
Let me try again more directly with coq-interval and see if it installs files. |
Ah, I bet what happened was that I tried setting |
What is .coq-native, anyway? |
I'll be happy to merge this, just please explain what it's about. What's .coq-native ? |
Maxime Dénès (and others?) adapted the OCaml runtime to run reduction under binders, allowing the compilation of Coq ASTs via ocamlopt to compute. In practice, the overhead of ocamlopt means that Coq has three modes for the native compiler: "off" means "use
That would be great, though this patch is still needed for compatibility with coq-native + CompCert < 3.13 |
Ugh. The amount of expertise needed just to write a the build+package instructions for a project that uses Coq (plus typically a few non-Coq components) just keeps growing and growing. |
Since compcert < 3.13 doesn't install .coq-native files, when coq-native is installed, vcfloat should avoid looking for .coq-native files.