| 15 Oct 2025 |
fzakaria | * I'm on a machine with 120 cores and i'm surprised how low parallelism meson compile -j 100 is on it for compiling Nix | 17:50:46 |
Sergei Zimmerman (xokdvium) | In reply to @fzakaria:one.ems.host I'm on a machine with 120 cores and i'm surprised how low parallelism meson compile -j 100 is on it for compiling Nix PCH make for a pretty bad fork-join | 17:52:38 |
Sergei Zimmerman (xokdvium) | Also the linker | 17:52:56 |
fzakaria | Also, my clangd fails to find the boost header only dependencies? Is there a setting someone can recommend here | 17:52:57 |
fzakaria | I can see they are missing from meson compile as they are not "true" dependencies.. | 17:53:12 |
Sergei Zimmerman (xokdvium) | In reply to @xokdvium:matrix.org Also the linker You should disable b_lto | 17:53:23 |
Philip Taron (UTC-8) | At $WORK we use clang modules to escape the PCH trap | 17:53:25 |
Sergei Zimmerman (xokdvium) | Honestly PCH is pretty good for us. LTO on the other hand is very slow | 17:54:04 |
fzakaria | I think it's cause NIX_CFLAGS is implicit outside meson? | 17:54:06 |
Sergei Zimmerman (xokdvium) | In reply to @philiptaron:matrix.org At $WORK we use clang modules to escape the PCH trap Let’s just wait until 2036 for modules to get supported on all platforms and in meson | 17:55:41 |
Philip Taron (UTC-8) | Our impl doesn't give two hoots about gcc -- it's clang + C23 all the way ;-) | 17:56:20 |
Philip Taron (UTC-8) | Modules (the clang impl) works great with C. | 17:56:39 |
Philip Taron (UTC-8) | Maybe even better than with C++. | 17:56:50 |
Philip Taron (UTC-8) | Actually, definitely better than with C++. | 17:57:00 |
fzakaria | how do I go from Store to BinaryCacheStore | 21:55:59 |
fzakaria | the config only return ref<Store> | 21:56:04 |