mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04:00
readme: cleanup
This commit is contained in:
parent
b2733dd4b2
commit
e4a6b12fda
1 changed files with 2 additions and 8 deletions
10
README.md
10
README.md
|
|
@ -449,15 +449,10 @@ If using Clang, make sure to add `-Wno-ignored-optimization-argument
|
||||||
|
|
||||||
If using GCC, make sure to add `-Wno-missing-profile` to `CFLAGS`.
|
If using GCC, make sure to add `-Wno-missing-profile` to `CFLAGS`.
|
||||||
|
|
||||||
Then, tell meson we want to _generate_ profile data:
|
Then, tell meson we want to _generate_ profile data, and build:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
meson configure -Db_pgo=generate
|
meson configure -Db_pgo=generate
|
||||||
```
|
|
||||||
|
|
||||||
Build an intermediate version of foot:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
ninja
|
ninja
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -475,8 +470,7 @@ rm ${foot_tmp_file}
|
||||||
You should see a foot window open up, with random colored text. The
|
You should see a foot window open up, with random colored text. The
|
||||||
window should close after ~1-2s.
|
window should close after ~1-2s.
|
||||||
|
|
||||||
If using Clang (if using GCC, just skip to the next step), now do
|
If using Clang, now do (this requires _llvm_ to have been installed):
|
||||||
(this requires _llvm_ to have been installed):
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
llvm-profdata merge default_*profraw --output=default.profdata
|
llvm-profdata merge default_*profraw --output=default.profdata
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue