Zulip Chat Archive

Stream: general

Topic: Leanproject flagging changed files


Yakov Pechersky (Jan 30 2022 at 13:56):

We often have users report of long compilation times, which might have to do with a modified in their directory that doesn't match the cached oleans. Would it be possible to have a script that flags which .lean do not match their corresponding .olean files? That is, the ones that would trigger a rebuild. This could even print out core lean filenames if they were somehow modified. Then, a lot of debugging for such users would first start with "leanproject identify-modifications | wc -l".

Yakov Pechersky (Jan 30 2022 at 13:57):

lean --make ... does something related as part of its compilation of the target file or folder. I'm proposing a tool just for identification of the files that are the "root" of the recompilation


Last updated: Dec 20 2023 at 11:08 UTC