PKGBUILDs/extra/qt6-webengine/0002-Run-blink-bindings-generation-single-threaded.patch

26 lines
907 B
Diff
Raw Normal View History

2022-10-01 22:47:27 +00:00
From 79734ab9f448456bda2607e131547afd76bf93d7 Mon Sep 17 00:00:00 2001
2021-10-01 22:59:32 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Tue, 2 Feb 2021 13:58:59 -0700
2022-10-01 22:47:27 +00:00
Subject: [PATCH 2/2] Run blink bindings generation single threaded
2021-10-01 22:59:32 +00:00
When not single threaded this process will eat all the RAM.
---
chromium/third_party/blink/renderer/bindings/BUILD.gn | 1 +
1 file changed, 1 insertion(+)
diff --git a/chromium/third_party/blink/renderer/bindings/BUILD.gn b/chromium/third_party/blink/renderer/bindings/BUILD.gn
2022-10-01 22:47:27 +00:00
index 3b474c47dc7..e7787535882 100644
2021-10-01 22:59:32 +00:00
--- a/chromium/third_party/blink/renderer/bindings/BUILD.gn
+++ b/chromium/third_party/blink/renderer/bindings/BUILD.gn
2022-04-14 00:21:11 +00:00
@@ -148,6 +148,7 @@ template("generate_bindings") {
2021-10-01 22:59:32 +00:00
outputs = invoker.outputs
args = [
2022-04-14 00:21:11 +00:00
+ "--single_process",
"--web_idl_database",
rebase_path(web_idl_database, root_build_dir),
"--root_src_dir",
2021-10-01 22:59:32 +00:00
--
2022-10-01 22:47:27 +00:00
2.37.3
2021-10-01 22:59:32 +00:00