I wish blender folks would try to switch to mold, linking Blender is the singler biggest bottleneck to dev speed when writing Blender code.
I wish blender folks would try to switch to mold, linking Blender is the singler biggest bottleneck to dev speed when writing Blender code.
https://github.com/blender/blender/commit/8b3d798374a2c6b502...
(I tend to prefix PATH with the folder I build it into for the specific project I need it for)
But off the top - No lto support, missing some flags that we use when building drivers, valgrind (cachegrind etc) fail to load symbols, some linker stuff is case senstive etc.
Can also add it to PATH, instead of hardcoding it like op did here.
But it's well worth it in some projects - In my case it shaved over a minute from incremental builds, resulting in sub 10 second builds!
(Alsp note you can cache indexes in gdb by default)