From 24107b5323a7d2eddf4ab3b1f1ad3d002a67dd18 Mon Sep 17 00:00:00 2001 From: laokz Date: Mon, 21 Jul 2025 09:46:28 +0800 Subject: [PATCH] riscv64: Disable JIT due to build problem Until v2.49.1, there still some JIT build issues on upstream side. --- webkit2gtk4_1.spec | 9 ++++++++- webkitgtk.spec | 7 +++++-- webkitgtk6_0.spec | 7 +++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/webkit2gtk4_1.spec b/webkit2gtk4_1.spec index 0dfa561..213bc4e 100644 --- a/webkit2gtk4_1.spec +++ b/webkit2gtk4_1.spec @@ -23,7 +23,7 @@ Name: webkit2gtk4.1 Version: 2.46.6 -Release: 3 +Release: 4 Summary: GTK web content engine library License: BSD-3-Clause AND LGPL-2.0-or-later URL: https://www.webkitgtk.org/ @@ -180,6 +180,10 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1 %ifarch aarch64 -DUSE_64KB_PAGE_BLOCK=ON \ %endif +%ifarch riscv64 + -DENABLE_JIT=OFF \ + -DUSE_SYSTEM_MALLOC=ON \ +%endif %endif %{nil} %cmake_build @@ -260,6 +264,9 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1 %endif %changelog +* Mon Jul 21 2025 laokz - 2.46.6-4 +- riscv64: Disable JIT due to build problem + * Fri Apr 25 2025 lingsheng - 2.46.6-3 - Adapt repo name webkitgtk diff --git a/webkitgtk.spec b/webkitgtk.spec index d0bfb18..069976b 100644 --- a/webkitgtk.spec +++ b/webkitgtk.spec @@ -23,7 +23,7 @@ Name: webkitgtk Version: 2.46.6 -Release: 3 +Release: 4 Summary: GTK web content engine library License: BSD-3-Clause AND LGPL-2.0-or-later URL: https://www.webkitgtk.org/ @@ -213,7 +213,7 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0 %if %{without gamepad} -DENABLE_GAMEPAD=OFF \ %endif -%ifarch aarch64 loongarch64 +%ifarch aarch64 loongarch64 riscv64 -DENABLE_JIT=OFF \ -DUSE_SYSTEM_MALLOC=ON \ %endif @@ -295,6 +295,9 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0 %endif %changelog +* Mon Jul 21 2025 laokz - 2.46.6-4 +- riscv64: Disable JIT due to build problem + * Fri Apr 25 2025 lingsheng - 2.46.6-3 - Adapt repo name webkitgtk diff --git a/webkitgtk6_0.spec b/webkitgtk6_0.spec index cc1db58..f5bf088 100644 --- a/webkitgtk6_0.spec +++ b/webkitgtk6_0.spec @@ -23,7 +23,7 @@ Name: webkitgtk6.0 Version: 2.46.6 -Release: 3 +Release: 4 Summary: GTK web content engine library License: BSD-3-Clause AND LGPL-2.0-or-later URL: https://www.webkitgtk.org/ @@ -181,7 +181,7 @@ files for developing applications that use JavaScript engine from webkitgtk-6.0. %if %{without gamepad} -DENABLE_GAMEPAD=OFF \ %endif -%ifarch aarch64 loongarch64 +%ifarch aarch64 loongarch64 riscv64 -DENABLE_JIT=OFF \ -DUSE_SYSTEM_MALLOC=ON \ %endif @@ -262,6 +262,9 @@ files for developing applications that use JavaScript engine from webkitgtk-6.0. %endif %changelog +* Mon Jul 21 2025 laokz - 2.46.6-4 +- riscv64: Disable JIT due to build problem + * Fri Apr 25 2025 lingsheng - 2.46.6-3 - Adapt repo name webkitgtk -- Gitee