Changes between Version 16 and Version 17 of WebKitGTK/SpeedUpBuild
- Timestamp:
- Feb 11, 2015, 9:31:59 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGTK/SpeedUpBuild
v16 v17 313 313 === icecc + ccache === 314 314 315 So far, this only works well when using as compiler GCC, with clangs gives problems.316 317 315 To use icecc and ccache together the steps are: 318 316 … … 344 342 345 343 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 346 This are the steps to use icecc with clang 349 347 350 348 1. If you were using GCC previously, then start with a clean build. … … 371 369 export 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}')" 372 370 }}} 373 5. Export your PATH to include the icecc dir as first: 371 5. 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: 374 374 {{{ 375 375 #!sh 376 376 export PATH="/usr/lib/icecc/bin:${PATH}" 377 377 }}} 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 }}} 384 6. 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. 379 385 {{{ 380 386 #!sh 381 387 Tools/Scripts/build-webkit --gtk 382 388 }}} 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 392 rm -fr WebKitBuild/Release 393 Tools/Scripts/build-webkit --gtk --cmakeargs="-DUSE_LD_GOLD=OFF" 394 }}} 385 395 === icecc troubleshooting === 386 396