Commit 0757230
fix(lake): use response files on all platforms to avoid ARG_MAX
Lake already uses response files (`@file`) on Windows to avoid
exceeding CLI length limits. This extends that behavior to macOS
and Linux, where linking Mathlib's ~15,000 object files into a
shared library exceeds macOS's ARG_MAX (262,144 bytes).
Both `clang` and `gcc` support `@file` response files on all
platforms, so this is safe to enable unconditionally.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ece65fc commit 0757230
1 file changed
+14
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
0 commit comments