aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-10-09 14:27:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-10-09 14:27:10 +0000
commit4fca380585b0ccddcef3082b08cbe9e5c3131e99 (patch)
tree042fcd5cb946368065cf24fa8d321747acbdef7d
parentinstall.md: add xtgettcap to PGO build instructions (diff)
install.md: add `./utils/xtgettcap name` to "full PGO" instructions too
-rw-r--r--INSTALL.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 86280079..d2f4e3d4 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -373,6 +373,7 @@ This method requires a running Wayland session.
We will use the script `scripts/generate-alt-random-writes.py`:
```sh
+./utils/xtgettcap name
./footclient --version
foot_tmp_file=$(mktemp)
./foot \
@@ -386,9 +387,10 @@ rm ${foot_tmp_file}
You should see a foot window open up, with random colored text. The
window should close after ~1-2s.
-The first step, `./footclient --version` might seem unnecessary, but
-is needed to ensure we have _some_ profiling data for
-`footclient`. Without this, the final link phase will fail.
+The first step, `./utils/xtgettcap name && ./footclient --version`
+might seem unnecessary, but is needed to ensure we have _some_
+profiling data for **all** binaries we build. Without this, the final
+link phase will fail.
##### Use the generated PGO data