-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[coq] [wip] Allow Coq libraries to depend on ML plugins.
We add a new field `(libraries <ocaml_libraries>)` to the `coqlib` stanza for specifying dependencies on OCaml libs, such as plugins. The current implementation has to workaround two `coqdep` problems: - `coqdep` depends on `.cmo` files by default, however Dune produces `cma`; - `-I` flags to `coqdep` must refer to the source tree as to find the `.cmxs` file. I am not sure if `coqdep` needs the `.mlpack` file to be present in the plugin source tree. In any case this should be fixed upstream. We should improve `coqdep` so this hacks are not necessary. TODO: current rules don't correctly call `coqdep` with the sources of plugin set, thus the rules are properly depending on the correct ML source artifacts. Signed-off-by: Emilio Jesus Gallego Arias <e+git@x80.org>
- Loading branch information
Showing
2 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters