mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
install.md: add xtgettcap to PGO build instructions
This commit is contained in:
parent
503740f836
commit
f747650b77
1 changed files with 5 additions and 3 deletions
|
|
@ -327,6 +327,7 @@ We will use the `pgo` binary along with input corpus generated by
|
||||||
`scripts/generate-alt-random-writes.py`:
|
`scripts/generate-alt-random-writes.py`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
./utils/xtgettcap name
|
||||||
./footclient --version
|
./footclient --version
|
||||||
./foot --version
|
./foot --version
|
||||||
tmp_file=$(mktemp)
|
tmp_file=$(mktemp)
|
||||||
|
|
@ -349,9 +350,10 @@ rm ${tmp_file}
|
||||||
```
|
```
|
||||||
|
|
||||||
The first step, running `./foot --version` and `./footclient
|
The first step, running `./foot --version` and `./footclient
|
||||||
--version` might seem unnecessary, but is needed to ensure we have
|
--version` etc, might seem unnecessary, but is needed to ensure we
|
||||||
_some_ profiling data for functions not covered by the PGO helper
|
have _some_ profiling data for functions not covered by the PGO helper
|
||||||
binary. Without this, the final link phase will fail.
|
binary, for **all** binaries. Without this, the final link phase will
|
||||||
|
fail.
|
||||||
|
|
||||||
The snippet above then creates an (empty) temporary file. Then, it
|
The snippet above then creates an (empty) temporary file. Then, it
|
||||||
runs a script that generates random escape sequences (if you cat
|
runs a script that generates random escape sequences (if you cat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue