Skip to content

Commit

Permalink
qt/5.x.x: Disable QtWebEngine jumbo builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jwillikers committed Jul 2, 2022
1 parent 0919f79 commit 700286c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/qt/5.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,8 @@ def _getenvpath(var):

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))
Expand Down

0 comments on commit 700286c

Please sign in to comment.