Skip to content

gcc LTO / gnu make jobserver integration

gcc supports -flto=jobserver to ensure that parallel builds limit resources consistently under gnu make. However, CMake has no way to specify that (or to support -flto=x for x children)

In addition, the Makefile target line will need a + option so that jobserver details are passed to sub-makes. Otherwise gnu make will spew errors to the console about not working with jobserver mode that cannot be suppressed

#16808 is open for full customization but doesn't document the "+" requirement and is a bigger endeavor

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information