Skip to content

Rocq 9.2 + auto compilation = spurious recompilations #875

Description

@Matafou

The CI on compilation currently fails with rocq 9.2 because it recompiles for vo files that are not outdated.

@hendriktews I noticed in the CHANGES for 9.2 that rocq compile DOES NOT GENERATE EMPTY VOS and VOK anymore. And indeed when I touch vos and vok then the dependencies are detected again. I suspect this is the cause. Can you have a look?

Minimum reproducing steps below. But going in the CI file ~/pg/rocq_no_implicit_show/ci/compile-tests/005-change-recompile/a.v is faster if you have PG sources somewhere.

Have two files a.v and b.v

b.v:

Definition foo:nat := 0.

a.v:

Require Import b.

Open a.v: M-x coq-compile-before-require-toggle to 't'.

Start Rocq 9.2 and go back and forth on the Require command: compilation is triggered each time (you can check it by looking at buffer *Messages* there are lines Compile b.v), even though b.v did not change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions