Hi all,

I added a new EasyHack:
superfluous include paths can slow the build down by quite a measureable
amount. With the integration of gnumake4 it is possible to set CXXFLAGS
on the compile (in gbuild modules).
Thus on Linux, with:
 make CXXFLAGS="-v" -srj30 -l9 2>&1 | grep nonexistent | sort | uniq
one can get an idea of include paths, that might be superfluous. But
beware of paths that might still be needed on other platforms!
Also ordering the include paths (and removing dupes) might improve
performance a bit (and make the output a lot more readable).
https://bugs.freedesktop.org/show_bug.cgi?id=39491

Best,

Bjoern

-- 
https://launchpad.net/~bjoern-michaelsen


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to