[Webkit-unassigned] [Bug 173066] [CMake] Only force response files for Ninja with CMake < 3.2 on Linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 7 10:48:52 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=173066

--- Comment #2 from Loïc Yhuel <loic.yhuel at softathome.com> ---
CMake uses response files when needed, but the limit was wrong on Linux (https://cmake.org/Bug/view.php?id=14892, fixed in CMake 3.2).
It created the original https://bugs.webkit.org/show_bug.cgi?id=129771, with "argument list too long" errors. 

CMake 3.6 added response file support for compile rules (which created https://bugs.webkit.org/show_bug.cgi?id=168770 since we forced the response files).

On Linux, CMake >= 3.2 uses response files as needed (ie only for libWebCore.a).
Hopefully platforms which don't support response files (FreeBSD, Apple) have a big enough command line length limit (sysconf(_SC_ARG_MAX)) to avoid them.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170607/3cd838c5/attachment.html>


More information about the webkit-unassigned mailing list