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
Context
- [Libreoffice] [new EasyHack] remove superfluous and duplicate include paths · Bjoern Michaelsen
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.