Title: [189344] trunk
Revision
189344
Author
[email protected]
Date
2015-09-04 04:44:21 -0700 (Fri, 04 Sep 2015)

Log Message

[CMake] Trigger the memory-reduction tricks on armhf too
https://bugs.webkit.org/show_bug.cgi?id=146640

Patch by Emanuele Aina <[email protected]> on 2015-09-04
Reviewed by Csaba Osztrogonác.

* Source/cmake/OptionsCommon.cmake:
Activate --no-keep-memory even on armhf to reduce the amount of memory
needed during linking, to avoid out-of-memory failures as much as
possible.

Modified Paths

Diff

Modified: trunk/ChangeLog (189343 => 189344)


--- trunk/ChangeLog	2015-09-04 11:26:12 UTC (rev 189343)
+++ trunk/ChangeLog	2015-09-04 11:44:21 UTC (rev 189344)
@@ -1,3 +1,15 @@
+2015-09-04  Emanuele Aina  <[email protected]>
+
+        [CMake] Trigger the memory-reduction tricks on armhf too
+        https://bugs.webkit.org/show_bug.cgi?id=146640
+
+        Reviewed by Csaba Osztrogonác.
+
+        * Source/cmake/OptionsCommon.cmake:
+        Activate --no-keep-memory even on armhf to reduce the amount of memory
+        needed during linking, to avoid out-of-memory failures as much as
+        possible.
+
 2015-09-04  Carlos Alberto Lopez Perez  <[email protected]>
 
         REGRESSION(r189293): _javascript_Core/offlineasm/x86.rb -- Build failure with ruby < 2.0

Modified: trunk/Source/cmake/OptionsCommon.cmake (189343 => 189344)


--- trunk/Source/cmake/OptionsCommon.cmake	2015-09-04 11:26:12 UTC (rev 189343)
+++ trunk/Source/cmake/OptionsCommon.cmake	2015-09-04 11:44:21 UTC (rev 189344)
@@ -106,7 +106,7 @@
 endif ()
 
 string(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR)
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)")
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86|armhf)")
     # To avoid out of memory when building with debug option in 32bit system.
     # See https://bugs.webkit.org/show_bug.cgi?id=77327
     set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "-Wl,--no-keep-memory ${CMAKE_SHARED_LINKER_FLAGS_DEBUG}")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to