Zulip Chat Archive

Stream: lean4

Topic: The clang command line with all ~15,000 Mathlib .c.o.export


Kevin Sullivan (Feb 17 2026 at 19:28):

Need precompiled mathlib from .c.o's. But this. Help? Thank you!

Kevin Sullivan (Feb 17 2026 at 19:33):

Mathlib cache ships Linux .so shared libs but not macOS .dylib files, so precompileModules on macOS always triggers a full Mathlib re-link that exceeds MacOS ARG_MAX, coming in at just a few K over the limit. Can someone who knows for sure confirm or disconfirm re: no Mac .dylib build in distributed cache? Thank you!

[Personal note: I can build in a Linux environment, so this is not a blocker for me, but it could be for others. Probably a well known issue, but anyway, we each learn at our own rate :-)

Kim Morrison :bot: (Feb 18 2026 at 00:30):

Lake already has response file support for this, but it was gated to Windows only. lean#12540 enables it on all platforms.


Last updated: Feb 28 2026 at 14:05 UTC