Changes between Version 18 and Version 19 of WebKitGTK/SpeedUpBuild


Ignore:
Timestamp:
Feb 12, 2015 2:48:46 AM (9 years ago)
Author:
clopez@igalia.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/SpeedUpBuild

    v18 v19  
    376376$ export PATH="/usr/lib/icecc/bin:${PATH}"
    377377}}}
    378   5.2. On the other hand, if you want to use ccache, then export your PATH to include first the ccache directory and set the CCACHE_PREFIX environment variable:
     378  5.2. On the other hand, if you want to use ccache, do the following:
     379    5.2.1 First set the appropriate symlinks to clang on the icecc directory
     380{{{
     381#!sh
     382cd /usr/lib/icecc/bin
     383$ sudo ln -s $(which ccache) clang
     384$ sudo ln -s $(which ccache) clang++
     385}}}
     386    5.2.2 Finally export your PATH to include first the ccache directory and set the CCACHE_PREFIX environment variable:
    379387{{{
    380388#!sh
     
    388396$ Tools/Scripts/build-webkit --gtk
    389397}}}
    390   * If you get errors when building try to disable the automatic detection of the gold compiler and start with a clean build
    391 {{{
    392 #!sh
    393 $ rm -fr WebKitBuild/Release
    394 $ Tools/Scripts/build-webkit --gtk --cmakeargs="-DUSE_LD_GOLD=OFF"
    395 }}}
     398
    396399=== icecc troubleshooting ===
    397400
    398 * If jobs are not being distributed.
    399 
    400 Check WebKitBuild/Release/rules.ninja is using /usr/lib/ccache/g++.
    401 
     401* If jobs are not being distributed, then check WebKitBuild/Release/rules.ninja is using /usr/lib/ccache/g++.
    402402{{{
    403403rule CXX_COMPILER
     
    406406  description = Building CXX object $out
    407407}}}
     408* If you get strange errors when building try to clear the ccache cache (ccache -C) and start with a clean build
     409{{{
     410#!sh
     411$ ccache -C
     412$ rm -fr WebKitBuild/Release
     413}}}