Closed ppedrot closed 5 years ago
That change is not sufficient, as it breaks parallel compilation, because _CoqProject
does not know about the .mlg
files. Is there any _CoqProject
that is compatible with both master and non-master? We rely on _CoqProject
being the same across all versions.
Unluckily I don't think this can be fixed without backporting a few patches to those Coq versions. Can't you really dispatch _CoqProject
depending on the version of Coq? It's only a matter of calling a sed script...
_CoqProject
is version-controlled, but I'll see what I can do.
@ppedrot How new a master do I need to do this? https://github.com/coq/coq/commits/71296e6e91de5b3fea08ef4b34426a02304f00b8 does not work, as coq_makefile -f _CoqProject
errors with "Unknown option src/Common/Tactics/hint_db_extra_plugin.mlg"
The Fiat repository should be ported to the coqpp tool for Coq master, by turning the ml4 files into mlg and adapting the code correspondingly. While the code adaptation is trivial, Fiat seems to do black magic in its makefile to pick the right file depending on the Coq version. I don't really understand that part enough to fix it though, hence this bug report.
Regarding the port, the following diff should be enough: