meta data for this page
icecc
Icecc is outdated:
- Latest release is 1.4.0 (2022) which doesn't include lots of nice fixes and features.
- Thread Overall status of the project #586 points to use sccache instead of icecream
icecc.bbclass
is not maintained and lack support of new Yocto features, generating a lot of problems (i.e. clang)- '-fno-diagnostics-show-caret' in clang: dunfell: compiler-rt: invalid argument causes sanity check to fail #806
- many forks with patches exists: https://github.com/icecc/icecream/compare/master...felix642:icecream:master
- YOCTO drops icecc.bbclass: classes/recipes-devtools: Drop icecc from OE-Core
- Issues:
Headline
NOTE: icecc daemon has to be run on localhost. Instead of this all jobs will be spawned locally with i.e. -j 100
sudo apt-get install patchelf icecc icecc-monitor
Example performance gain (make -j14
vs make -j 100
):
bitbake nativesdk-qemu # # ICECC_PARALLEL_MAKE = "-j 100" # bitbake nativesdk-qemu -c cleansstate time bitbake nativesdk-qemu real 3m58.270s user 0m0.942s sys 0m0.153s # # ICECC_DISABLED = "1" # bitbake nativesdk-qemu -c cleansstate time bitbake nativesdk-qemu real 7m21.235s user 0m1.019s sys 0m0.209s
Issues
Cannot use icecc: patchelf not found
NOTE: recipe shadow-native-4.8.1-r0: task do_configure: Started WARNING: shadow-native-4.8.1-r0 do_configure: Cannot use icecc: patchelf not found
sudo apt-get install patchelf