On 4/18/21 3:34 PM, David Faure wrote:
On 4/17/21 7:44 PM, Ted Felix wrote:
It does. However gcc's pre-compiled header feature appears to start
losing its effectiveness at around 10 headers or so. We're at that
limit already and any tweaking of RG_DEBUG to allow the incorporation
of more headers is not going to help things.
I don't understand. Do you have more details about the 10 headers thing?
Read these:
https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
https://cmake.org/cmake/help/git-stage/command/target_precompile_headers.html
I added the top 10(+2) system headers to a
target_precompile_headers() command and got a 40% reduction in build
time. Adding any more caused build time to increase.
And what's the tweaking of RG_DEBUG? My proposal or something else?
Something else that would have allowed for specifying both rg and
system headers in the target_precompile_headers() command. But since
we've already hit a brick wall at 40% build time reduction, there's no
point in adding more headers to the target_precompile_headers() command.
See the latest src/CMakeLists.txt.
Ted.
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel