Follow-up to https://bugs.gentoo.org/907923. BOLT is a post-link binary optimizer: https://github.com/llvm/llvm-project/tree/main/bolt#bolt Clang makes it easy to enable BOLT using bundled CMake cache files: https://github.com/llvm/llvm-project/blob/main/clang/cmake/caches/BOLT.cmake Enabling is as simple as appending `-C llvm-project/clang/cmake/caches/BOLT.cmake`. BOLT can be enabled on top of Instrumentation PGO using BOLT-PGO.cmake. The benefits of enabling BOLT (with and without PGO) this way are shown on slide 4 in this presentation: https://llvm.org/devmtg/2022-11/slides/Lightning15-OptimizingClangWithBOLTUsingCMake.pdf with IPC improvements of enabling both PGO and BOLT comparable to a CPU generation bump (slide 5), on a workload of compiling clang itself, which is representative of a modern C++ codebase, which in turn is a representative workload of a gentoo system (compiling c++ packages). Reproducible: Always