Changes between Version 18 and Version 19 of WebKitGTK/SpeedUpBuild
- Timestamp:
- Feb 12, 2015, 2:48:46 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGTK/SpeedUpBuild
v18 v19 376 376 $ export PATH="/usr/lib/icecc/bin:${PATH}" 377 377 }}} 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 382 cd /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: 379 387 {{{ 380 388 #!sh … … 388 396 $ Tools/Scripts/build-webkit --gtk 389 397 }}} 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 396 399 === icecc troubleshooting === 397 400 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++. 402 402 {{{ 403 403 rule CXX_COMPILER … … 406 406 description = Building CXX object $out 407 407 }}} 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 }}}