summaryrefslogtreecommitdiffstats
path: root/qt.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-02-06 20:48:22 +0100
committerKonstantin Tokarev <annulen@yandex.ru>2017-04-06 21:56:25 +0000
commit5656b4848e8c8bf60274c36094dede63aa93e89b (patch)
tree613322285a33efe1aa988eedf143a43fb1eeabb0 /qt.pro
parent315b76dc9b48456018490675339c084b9e17b2d0 (diff)
serialize build of qtwebkit and qtwebengine
linking both at the same time requires more than my 16GB of RAM, so introduce a .gitmodules field which serializes the two. in practice, it is just interpreted as an optional dependency. the CI system won't be taught about it, so this will not cause an unnecessary serialization there. Change-Id: I938537ebd3767a1184a5a31c4c026c70a05d499a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'qt.pro')
-rw-r--r--qt.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt.pro b/qt.pro
index f8d3d4d3..bf510fab 100644
--- a/qt.pro
+++ b/qt.pro
@@ -26,14 +26,14 @@ for (line, lines) {
}
QMAKE_INTERNAL_INCLUDED_FILES += $$PWD/.gitmodules
-modules = $$sort_depends(modules, module., .depends .recommends)
+modules = $$sort_depends(modules, module., .depends .recommends .serialize)
modules = $$reverse(modules)
for (mod, modules) {
equals(module.$${mod}.qt, false): \
next()
deps = $$eval(module.$${mod}.depends)
- recs = $$eval(module.$${mod}.recommends)
+ recs = $$eval(module.$${mod}.recommends) $$eval(module.$${mod}.serialize)
for (d, $$list($$deps $$recs)): \
!contains(modules, $$d): \
error("'$$mod' depends on undeclared '$$d'.")