| 10 Mar 2026 |
picnoir | Nearly doubled in 2 years. | 17:13:17 |
hexa | Would be annoying to give it a chance and it continues the growth | 18:05:08 |
picnoir | That's the likely outcome :) | 18:18:52 |
picnoir | The x86 variant suffers from the same symptoms. It's a matter of time before it reaches the 4GB limit as well. | 18:19:36 |
Sergei Zimmerman (xokdvium) | Eh ok you nerd sniped me and it seems that a bunch of binaries are huge because they link statically to mlir libraries? | 18:38:53 |
Sergei Zimmerman (xokdvium) | I’m not familiar with the package but I can try poking and see if one can build with shared libs | 18:41:42 |
Gaétan Lepage | FYI: https://github.com/NixOS/nixpkgs/pull/497817#issuecomment-4033492850 | 18:48:35 |
Sergei Zimmerman (xokdvium) | In reply to @xokdvium:matrix.org I’m not familiar with the package but I can try poking and see if one can build with shared libs Building with BUILD_SHARED_LIBS now. Will report once (looks at the builds logs) whopping 7k objects are built | 18:52:02 |
Lun | Might prefer LLVM_TOOL_LLVM_DRIVER_BUILD, iirc there was some cursed issue with multiple differing llvms in the same process with shared libs when you got further out to things like torch. | 19:16:54 |
Lun | that only saves about 500MiB :c | 19:28:40 |
Sergei Zimmerman (xokdvium) | for x86-linux the diff is 1.8G -> 200M | 19:47:17 |
Lun | * that (LLVM_TOOL_LLVM_DRIVER_BUILD) only saves about 500MiB :c | 19:49:06 |