Zulip Chat Archive

Stream: mathlib4

Topic: mathport recompiles mathlib


Yury G. Kudryashov (Jun 30 2023 at 16:56):

I'm following instructions on https://github.com/leanprover-community/mathport/blob/master/Oneshot/README.md
When I run make build, it rebuilds many files from Mathlib.

Yury G. Kudryashov (Jun 30 2023 at 16:57):

This looks strange because lake exe cache get just downloaded these oleans.

Yury G. Kudryashov (Jun 30 2023 at 16:57):

Is it because of some inconsistency of lake flags?

Floris van Doorn (Jun 30 2023 at 23:03):

It should only compile them, and therefore it should go 10-100x quicker than building Mathlib from scratch.

Yury G. Kudryashov (Jun 30 2023 at 23:38):

Yes, thank you! (Also, I duplicated the question in another thread and Mario already got the same answer).

Arthur Paulino (Jul 01 2023 at 02:06):

It's probably worth mentioning this detail in the README so people don't think they've done something wrong or that something is broken


Last updated: Dec 20 2023 at 11:08 UTC