Clang people, are there any secret tips on how to make it Compile Faster? GitHub kicks me out after 6 hours, I need to shave some time off my build π
They also already build Clang with PGO, ThinLTO and with hardening features like SSP disabled for performance. It could be built with LTO instead of ThinLTO to get better performance but I doubt it will help substantially. Could also set -march to a more recent CPU revision.
They have a script for doing it so it's pretty easy. I've had to deal with that for both AOSP and Chromium. AOSP build system and tooling are so much nicer to work with than Chromium. AOSP also has a build sandbox and is moving away from having any userspace host dependencies.