3 ms·
rollcall of essential tools if you are in C/C++ land: no build should be without https://ccache.dev/ https://ccache.dev/, and after that, distcc https://distcc
by gjvc 6y ago
rollcall of essential tools if you are in C/C++ land:
no build should be without https://ccache.dev/ https://ccache.dev/, and after that, distcc https://distcc.github.io/ https://distcc.github.io/, icecream https://github.com/icecc/icecream https://github.com/icecc/icecream, and goma https://chromium.googlesource.com/infra/goma/ https://chromium.googlesource.com/infra/goma/ may be used for distributing the workload.
- rurban 6y agoCan I use that with GitHub actions? I have some crazy slow C/C++ build times with O2 and asan, which usually leads to g++ timing out. Not just 40min build times. Some huge autogenerated testcases to cross-test all iterator combinations against C. I'd really need -O3 for -finline, but -O2, -O3 and -Ofast all fail too build. Splitting it up didn't help. So far I went with #pragma optimize O1. https://github.com/rurban/ctl/actions/workflows/master.yml https://github.com/rurban/ctl/actions/workflows/master.yml C++ templates are the worst. The pure C variant builds in seconds. I pity all C++ folks
- gjvc 6y agomy problem right now is that the OOM killer, is, err, killing compiler processes when asan is enabled. A build machine should have at least twice as much RAM in GB as it has number of cores for compiler processes.