-
Notifications
You must be signed in to change notification settings - Fork 413
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] Add .aux & .glob files as targets #3721
Conversation
No they should not. In particular, Coq records in there some info that can improve user experience when compiling the same files again, which is not something you are supposed to do with v/vo files that are installed system wise. |
Thanks. In that case, this PR is ready. |
I've amended the PR to include @gares I assume these should not be installed either. @yannl35133 should fix #3693 |
0799ffa
to
e0b5678
Compare
Glob files are used to generate html hyperlinks by coqdoc, which I guess you run as part of the build, so no need to install them. |
This is OK I think, thanks @rgrinberg ; I left I was planning to add Install rules for them can be anyways be added on the A bit of a tricky point for this files is that there are some options that do indeed suppress / alter them. So indeed the set of output targets depends on the flags; my plan for that was to introduce a This PR will break dune for example when I'm a bit wary of adding support for |
Makes sense. Although we also have a plan in dune for binaries to announce their targets dynamically. It's not without its own disadvantages, but at least it would allow us to keep all this information on one side.
This can probably be handled by dune getting the version of Coq. We do the same for OCaml for some flags, and it's a useful feature for other coq users I bet. |
@ejgallego is this PR ok to go? Your comment suggests approval but you haven't approved it through github. |
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.
LGTM, sorry for the lack of explicit approval.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Fix ocaml#3437 Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
All the obj related functions are basically the same. One function + enum is enough to handle everything. Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
…lugin, dune-private-libs and dune-glob (2.7.1) CHANGES: - configurator: More flexible probing of `#define`. We allow duplicate values in the object file, as long as they are the same after parsing. (ocaml/dune#3739, fixes ocaml/dune#3736, @rgrinberg) - Record instrumentation backends in dune-package files. This makes it possible to use instrumentation backends defined in installed libraries (eg via OPAM). (ocaml/dune#3735, @nojb) - Add missing `.aux` & `.glob` targets to coq rules (ocaml/dune#3721, fixes ocaml/dune#3437, @rgrinberg) - Fix `dune-package` installation when META templates are present (ocaml/dune#3743, fixes ocaml/dune#3746, @rgrinberg) - Resolve symlinks before running `$ git diff` (ocaml/dune#3750, fixes ocaml/dune#3740, @rgrinberg) - Cram tests: when checking that all test directories contain a `run.t` file, skip empty directories. These can be left around by git. (ocaml/dune#3753, @emillon)
…lugin, dune-private-libs and dune-glob (2.7.1) CHANGES: - configurator: More flexible probing of `#define`. We allow duplicate values in the object file, as long as they are the same after parsing. (ocaml/dune#3739, fixes ocaml/dune#3736, @rgrinberg) - Record instrumentation backends in dune-package files. This makes it possible to use instrumentation backends defined in installed libraries (eg via OPAM). (ocaml/dune#3735, @nojb) - Add missing `.aux` & `.glob` targets to coq rules (ocaml/dune#3721, fixes ocaml/dune#3437, @rgrinberg) - Fix `dune-package` installation when META templates are present (ocaml/dune#3743, fixes ocaml/dune#3746, @rgrinberg) - Resolve symlinks before running `$ git diff` (ocaml/dune#3750, fixes ocaml/dune#3740, @rgrinberg) - Cram tests: when checking that all test directories contain a `run.t` file, skip empty directories. These can be left around by git. (ocaml/dune#3753, @emillon)
Fix #3437
@gares @ejgallego should
.aux
files be installed as well?