RESOLVED LATER 16891
[GTK] Make use of a precompiled and/or prefix header to speed up the build
https://bugs.webkit.org/show_bug.cgi?id=16891
Summary [GTK] Make use of a precompiled and/or prefix header to speed up the build
Alp Toker
Reported 2008-01-16 03:27:40 PST
The autotools build system is slower than the qmake system it replaces. I've looked into avoiding libtools, and using precompiled headers so far but no timings yet. Apparently the current system is slow even with ccache which suggests time is being spend doing things other than compiling.
Attachments
Use gcc precompiled headers (proof-of-concept) (1.49 KB, patch)
2008-09-17 18:01 PDT, Alp Toker
no flags
Alp Toker
Comment 1 2008-01-23 08:15:18 PST
The README in GIMP and the autotools docs suggest that --disable-shared will half build time by invoking libtool less. I couldn't get this to work without modifying the Makefile.ams heavily though. Anyone else try this? Getting a fast static build is good enough to solve the main objections with autotools right now.
Luca Bruno
Comment 2 2008-03-28 04:04:59 PDT
At all, lately the build is not slow anymore, it's as fast as qmake for me.
Mike Hommey
Comment 3 2008-04-09 04:00:26 PDT
http://lists.debian.org/debian-devel/2008/04/msg00286.html This could help make things much faster.
Jan Alonzo
Comment 4 2008-06-04 07:25:31 PDT
Since dolt is already part of the build, what sort of target are we aiming at for this bug to be closed?
Alp Toker
Comment 5 2008-09-17 18:01:50 PDT
Created attachment 23516 [details] Use gcc precompiled headers (proof-of-concept) After applying patch, copy WebKit/qt/WebKit_pch.h to WebCore/platform/WebKit_pch.h You might need to do 'make WebCore/platform/WebKit_pch.h.gch' before attempting a build. Dependency tracking may not be correct, didn't verify. If someone could try timing a build to see if this helps, that'd be great. The Makefile change might also be a good example for how we can reduce some of the lists of sources in the build system using GNU make syntax (though automake limits exactly how much we can automate things).
Martin Robinson
Comment 6 2010-10-21 17:07:01 PDT
This bug is somewhat nebulous right now, so I think we should have it simply focus on adding a pre-compiled prefix header to the build.
Martin Robinson
Comment 7 2014-04-08 17:54:47 PDT
We should open a new bug when someone is ready to do this with CMake.
Note You need to log in before you can comment on or make changes to this bug.