[openjfx] 01/04: Compile WebKit with the -g1 debugging level to reduce the memory used

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Oct 6 11:16:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository openjfx.

commit 35374c06ef6cecb1876ea37aff1aa56a254e05aa
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Oct 6 10:06:48 2017 +0200

    Compile WebKit with the -g1 debugging level to reduce the memory used
---
 debian/changelog                           |  7 +++++++
 debian/patches/25-webkit-debug-level.patch | 15 +++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c4ca009..a9eac81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+openjfx (8u141-b14-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Compile WebKit with the -g1 debugging level to reduce the memory used
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Fri, 06 Oct 2017 10:05:51 +0200
+
 openjfx (8u141-b14-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/25-webkit-debug-level.patch b/debian/patches/25-webkit-debug-level.patch
new file mode 100644
index 0000000..a2e9f1e
--- /dev/null
+++ b/debian/patches/25-webkit-debug-level.patch
@@ -0,0 +1,15 @@
+Description: Use the -g1 debugging level instead of -g when compiling WebKit
+ to reduce the memory used and avoid build failures caused by lack of RAM.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/modules/web/src/main/native/Source/cmake/OptionsCommon.cmake
++++ b/modules/web/src/main/native/Source/cmake/OptionsCommon.cmake
+@@ -32,6 +32,8 @@
+     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-expansion-to-defined")
+     set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-exceptions -fno-strict-aliasing -fno-rtti")
+     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
++    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g1")
++    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g1")
+ endif ()
+ 
+ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND CMAKE_GENERATOR STREQUAL "Ninja")
diff --git a/debian/patches/series b/debian/patches/series
index 4556583..448d37c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -19,3 +19,4 @@ fix-arm32-build.patch
 22-JDK-8185792-accented-characters-support.patch
 23-webcore-linker-flags.patch
 24-disable-buildSrc-tests.patch
+25-webkit-debug-level.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjfx.git



More information about the pkg-java-commits mailing list