[Webkit-unassigned] [Bug 130009] New: [GTK] Cannot build with cmake+ninja and icecc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 10 01:58:24 PDT 2014


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

           Summary: [GTK] Cannot build with cmake+ninja and icecc
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: berto at igalia.com


$ CC="icecc clang" CXX="icecc clang++" Tools/Scripts/build-webkit --gtk --makeargs=-j16
[...]
FAILED: cd /home/devel/WebKit/WebKitBuild/Release/Source/WebCore && /usr/bin/perl -I/home/devel/WebKit/Source/WebCore/bindings/scripts /home/devel/WebKit/Source/WebCore/dom/make_names.pl --preprocessor "/usr/bin/icecc -E -x c++" --outputDir /home/devel/WebKit/WebKitBuild/Release/DerivedSources/WebCore --attrs /home/devel/WebKit/Source/WebCore/svg/svgattrs.in --tags /home/devel/WebKit/Source/WebCore/svg/svgtags.in --factory --wrapperFactory "--extraDefines= ENABLE_FILTERS=1 ENABLE_SVG_FONTS=1"

If you see, the --preprocessor option uses "icecc -E" instead of "icecc clang++ -E".

This is because in CMakeCache.txt:

   CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/icecc
   CMAKE_CXX_COMPILER_ARG1:STRING= clang++

And in Source/cmake/OptionsCommon.cmake:

   set(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} -E -P -x c++")

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list