diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-21 11:24:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-12-21 12:02:51 +0000 |
| commit | 69836ab7958c8bece9a7e30204f4bf6c2c2f62f7 (patch) | |
| tree | f07cb4cef26fe03f0472aa6cfd181e97fff5074a | |
| parent | changelog: use -std=c11 instead of -std=c18 (diff) | |
install.md: add -Wno-profile-instr-unprofiled to clang flags in PGO builds
| -rw-r--r-- | INSTALL.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -201,7 +201,10 @@ later have a regression where PGO with `-O2` is **much** slower. If you are using Clang instead of GCC, use the following `CFLAGS` instead: ```sh -export CFLAGS="$CFLAGS -O3 -march=native -Wno-ignored-optimization-argument -Wno-profile-instr-out-of-date" +export CFLAGS="$CFLAGS -O3 -march=native \ + -Wno-ignored-optimization-argument \ + -Wno-profile-instr-out-of-date \ + -Wno-profile-instr-unprofiled" ``` Then, tell meson we want to _generate_ profiling data, and build: |
