(#11496) qt/5.x.x: Disable QtWebEngine jumbo builds

Jumbo builds consistently crash builds when building QtWebEngine.
On a fairly new machine with 32 GB of RAM, I can't have other applications open.
On a the Pinebook Pro, an aarch64 machine, compilation just freezes when it reaches jumbo builds.
Although jumbo builds can improve build times, they should never be defaulted on.
This is explained in the CMake documentation for unity builds.
To ensure builds complete, jumbo builds must be disabled.
The QMake configure command-line option `-webengine-jumbo-build 0` accomplishes this.
This commit is contained in:
Jordan Williams
2022-07-07 02:41:58 -05:00
committed by GitHub
parent 3dbb423c62
commit df1fb263e8

View File

@@ -740,7 +740,8 @@ class QtConan(ConanFile):
if self.options.qtwebengine and self.settings.os in ["Linux", "FreeBSD"]:
args += ["-qt-webengine-ffmpeg",
"-system-webengine-opus"]
"-system-webengine-opus",
"-webengine-jumbo-build 0"]
if self.options.config:
args.append(str(self.options.config))