If the builds are slow, build accelerators can help a lot. Ccache would work for sure and there is also firebuild, that can accelerate the linker phase and many other tools in builds.
HN user
rbalint
If you would like to make similar hooks work again on macOS, check out this guide: https://firebuild.com/setup-macos . Firebuild uses similar technique to explore the process tree and create a report with CPU utilizations highlighted in a graphical process tree graph.
75% is really good even if it requires changing the toolchain. Have you tried https://github.com/firebuild/firebuild ? It is a caching accelerator and it can cache the linking and the buildscripts, too in Rust builds. It can make your builds more than 90% faster, especially with low cores counts. https://balintreczey.hu/blog/improve-build-time-of-rust-java... The Mac port is experimental, though.
https://github.com/firebuild/firebuild : A caching build accelerator like ccache, but for any compiler or random script.
There is a short intro: https://balintreczey.hu/blog/how-to-speed-up-your-next-build...
It did not get to the first page in the first round: https://news.ycombinator.com/item?id=34355759
I was in a similar situation and I laid down the cards. I think I did the right thing by doing so and the client will reevaluate the viability of the concept as they said.