Zulip Chat Archive
Stream: lean4
Topic: lake exe cache get hits, but mathlib files are still built
Joachim Breitner (Aug 19 2023 at 09:41):
I have created a new project that uses mathlib (at https://github.com/nomeata/loogle), and carefully made sure to use the same toolchain version and std4 and aesop revision as mathlib. This way, lake exe cache get
hits and downloads >3000 files. But when I lake build
, it still builds the modules from std4 and mathlib that are used by my executable (e.g. Mathlib.Tactic.ToExpr
). Is that expected? Is it maybe because I use extern_lib
in my project?
The repo above should reproduce it, if you have nix (to get the C library it uses), with
lake clean ; lake update; lake exe cache get; lake build
Mauricio Collares (Aug 19 2023 at 11:01):
Does it say Building
or Compiling
?
Mauricio Collares (Aug 19 2023 at 11:02):
Compiling
is expected, Building
isn't
Joachim Breitner (Aug 19 2023 at 11:13):
Compiling indeed! Thanks for bearing with my ignorance. Kinda makes sense :-)
Mauricio Collares (Aug 19 2023 at 11:15):
I think Compiling
is for platform-dependent output (i.e. it runs leanc
)
Last updated: Dec 20 2023 at 11:08 UTC