Bug 72882 - [Qt] Speed up debug builds
Summary: [Qt] Speed up debug builds
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 07:21 PST by Simon Hausmann
Modified: 2011-11-21 13:19 PST (History)
3 users (show)

See Also:


Attachments
[Qt] Speed up debug builds. (11.04 KB, patch)
2011-11-21 07:38 PST, Simon Hausmann
vestbo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Hausmann 2011-11-21 07:21:40 PST
One aspect that makes working with debug builds very annoying is that after touching a file in for example WebKit2, the WebKit2 static library needs to be re-linked and then the final QtWebKit shared library. This can take a long time.

We should introduce a special build mode that will build all the convenience libraries (jsc, wc, wk2) as shared libraries (with all symbols exported), so that touching a file in say WebKit2 results in only one short relinking of the WebKit2 library.
Comment 1 Simon Hausmann 2011-11-21 07:38:07 PST
Created attachment 116083 [details]
[Qt] Speed up debug builds.
Comment 2 Simon Hausmann 2011-11-21 07:39:37 PST
This isn't quite perfect yet. We can also keep it here for a while, so don't hesitate to r- until the load() thing is cleaned up.
Comment 3 Tor Arne Vestbø 2011-11-21 08:19:08 PST
Comment on attachment 116083 [details]
[Qt] Speed up debug builds.

View in context: https://bugs.webkit.org/attachment.cgi?id=116083&action=review

let's land it like this, as it improves productivity for working with debug builds. we can always tweak it if there are better ways to do it :)

> Tools/qmake/mkspecs/features/force_static_libs_as_shared.prf:10
> +        CONFIG -= hide_symbols

style
Comment 4 Simon Hausmann 2011-11-21 13:19:59 PST
Committed r100952: <http://trac.webkit.org/changeset/100952>