Files
guru/dev-util/flips
AeroModes d441fece47 dev-util/flips: fix PGO build with clang, make pgo opt-in
Building with `USE=pgo` and Clang fails:

```
clang++: error: Error in reading profile default.profdata: No such file or directory
```

Clang writes raw profile files that have to be merged with llvm-profdata
first. GCC handles this on its own.

This changeset adds this merge step when using Clang, and has both the
generate and use passes keep profile data in `${T}` instead of the
source tree.

PGO was also made opt-in instead of the default. Even though it's
enabled by upstream, it's arguably unnecessary for such a small program.
An upstream comment even reports it's only a 2% performance increase for
30x the build time.

Signed-off-by: AeroModes <mail@aeromod.es>
Part-of: https://codeberg.org/gentoo/guru/pulls/66
Merges: https://codeberg.org/gentoo/guru/pulls/66
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
2026-10-25 02:06:14 +06:00
..
…