Changes between Version 16 and Version 17 of WebKitGTK/SpeedUpBuild


Ignore:
Timestamp:
Feb 11, 2015 9:31:59 AM (9 years ago)
Author:
clopez@igalia.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/SpeedUpBuild

    v16 v17  
    313313=== icecc + ccache ===
    314314
    315 So far, this only works well when using as compiler GCC, with clangs gives problems.
    316 
    317315To use icecc and ccache together the steps are:
    318316
     
    344342
    345343
    346 === using icecc with clang ===
    347 
    348 This are the steps to use icecc with clang (without ccache because it don't works so far)
     344=== Using icecc with clang ===
     345
     346This are the steps to use icecc with clang
    349347
    3503481. If you were using GCC previously, then start with a clean build.
     
    371369export ICECC_VERSION="$(pwd)/$(/usr/lib/icecc/icecc-create-env --clang /usr/bin/clang /usr/lib/icecc/compilerwrapper|tee /dev/stderr|grep creating|awk '{print $2}')"
    372370}}}
    373 5. Export your PATH to include the icecc dir as first:
     3715. Now you have two options: use ccache in combination with icecc or use icecc alone.
     372
     373  5.1 If you don't want to use ccache in combination with icecc, then export your PATH to include first the icecc directory:
    374374{{{
    375375#!sh
    376376export PATH="/usr/lib/icecc/bin:${PATH}"
    377377}}}
    378 6. Ensure that the icecc daemon is running and that you have exported the env variable NUMBER_OF_PROCESSORS to the double or triple of your number of cores, and start the compilation as usual.
     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:
     379{{{
     380#!sh
     381$ export CCACHE_PREFIX=icecc
     382$ export PATH="/usr/lib/ccache:${PATH}"
     383}}}
     3846. Ensure that the icecc daemon is running and that you have exported the environment variable NUMBER_OF_PROCESSORS to the double or triple of your number of cores, and start the compilation as usual.
    379385{{{
    380386#!sh
    381387Tools/Scripts/build-webkit --gtk
    382388}}}
    383 
    384 
     389  * If you get errors when building try to disable the automatic detection of the gold compiler and start with a clean build
     390{{{
     391#!sh
     392rm -fr WebKitBuild/Release
     393Tools/Scripts/build-webkit --gtk --cmakeargs="-DUSE_LD_GOLD=OFF"
     394}}}
    385395=== icecc troubleshooting ===
    386396