diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-26 19:43:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-26 21:16:55 +0000 |
| commit | 3fd9256c0207cd7ff0b36b69282d70463be4dfb3 (patch) | |
| tree | c69a112f882de5eb1db6dcf6b39bf10545fa12b5 /scripts/benchmark.py | |
| parent | install: add ‘llvm’ as an optional build dependency (diff) | |
install: clang-11.x compatible PGO instructions
LLVM/Clang 11.x throws errors for _files_ without any profiling data:
error: ../../async.c: Function control flow change detected (hash mismatch) async_write Hash = 72057641800614222 [-Werror,-Wbackend-plugin]
This caused multiple issues with the current PGO instructions:
* The `pgo` binary failed to link with `meson configure -Db_pgo=use`
when doing a full PGO build (since it isn't used in this case);
* `footclient` fails to link for the same reason.
* `foot` fails to link for the same reason in **partial** PGO builds.
The solution is to make sure all binaries that are built in the final
phase (`-Db_pgo=use`) have been executed in the _generate_ phase.
Doing this also means we can drop `-Wno-missing-profile` and friends.
Also add `--sixel` to the `generate-alt-random-writes` command line in
the description for a full PGO build.
Closes #418
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions
