Zulip Chat Archive

Stream: mathlib4

Topic: mathport and leanproject build


Ashley Blacquiere (Sep 05 2023 at 04:58):

I'm following the mathport instructions and have gotten to the bit that says "make sure that leanproject build runs cleanly". That just means run it and make sure there are no errors then cancel, correct? I don't have to wait for the entire build process...?

Yury G. Kudryashov (Sep 05 2023 at 04:59):

Are you using it on mathlib or on a project?

Ashley Blacquiere (Sep 05 2023 at 05:00):

On a project.

Yury G. Kudryashov (Sep 05 2023 at 05:01):

You'll recompile the project anyway on the lean --make --recursive --ast --tlean src line

Scott Morrison (Sep 05 2023 at 05:01):

How long does leanproject build take on your project, anyway?

Ashley Blacquiere (Sep 05 2023 at 05:03):

Not sure. Started it ten minutes ago and its only in the topology library at the moment... Seems like maybe a while.

Yury G. Kudryashov (Sep 05 2023 at 05:07):

Do you recompile the whole mathlib?

Yury G. Kudryashov (Sep 05 2023 at 05:07):

Or just your project?

Yury G. Kudryashov (Sep 05 2023 at 05:08):

Should we add leanproject get-cache to the instructions?

Ashley Blacquiere (Sep 05 2023 at 05:21):

Hm. Ya, if that's a necessary step. I created a new clone of my project before the leanproject mk-all step, but didn't think to grab oleans...

Yury G. Kudryashov (Sep 05 2023 at 05:34):

This is not a necessary step because you're going to run leanproject clean and rebuild it later.

Ashley Blacquiere (Sep 05 2023 at 05:52):

Think I've got it now. Thanks for the help. Tho I did realize when running leanproject build that I completely missed updating an entire file when upgrading to Lean 3.51... :laughing:


Last updated: Dec 20 2023 at 11:08 UTC