From df1fb263e85c1543055231310ecb8c4d5bc4957b Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Thu, 7 Jul 2022 02:41:58 -0500 Subject: [PATCH] (#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. --- recipes/qt/5.x.x/conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/qt/5.x.x/conanfile.py b/recipes/qt/5.x.x/conanfile.py index b4aab83269..67d2c7a667 100644 --- a/recipes/qt/5.x.x/conanfile.py +++ b/recipes/qt/5.x.x/conanfile.py @@ -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))