From aee48e52dbe55ce58956774f6d6930278ab61e0f Mon Sep 17 00:00:00 2001 From: linker Date: Thu, 22 Apr 2021 08:56:47 +0800 Subject: [PATCH] optimization build time --- webkit2gtk3.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index c750121..4bebb5a 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -5,7 +5,7 @@ #Basic Information Name: webkit2gtk3 Version: 2.28.3 -Release: 3 +Release: 4 Summary: GTK+ Web content engine library License: LGPLv2 URL: http://www.webkitgtk.org/ @@ -108,15 +108,20 @@ pushd %{_target_platform} -DCMAKE_BUILD_TYPE=Release \ -DENABLE_GTKDOC=ON \ -DENABLE_MINIBROWSER=ON \ + -DUSE_WPE_RENDERER=OFF \ -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ +%ifarch aarch64 + -DENABLE_JIT=OFF \ + -DUSE_SYSTEM_MALLOC=ON \ +%endif .. popd export NINJA_STATUS="[%f/%t][%e] " -%ninja_build -C %{_target_platform} +%ninja_build -C %{_target_platform} -j32 %install -%ninja_install -C %{_target_platform} +%ninja_install -C %{_target_platform} -j32 %find_lang WebKit2GTK-4.0 @@ -175,6 +180,9 @@ done %{_datadir}/gtk-doc/html/webkitdomgtk-4.0/ %changelog +* Tue Apr 22 2021 Dehui Fan - 2.28.3-4 +- DESC: optimization build time + * Tue Dec 15 2020 hanhui - 2.28.3-3 - modify license -- Gitee