mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-01 01:40:13 -05:00
PKGBUILD: profiling payload: random writes to the alt screen
This commit is contained in:
parent
832f6520d0
commit
0cb3e70ecf
1 changed files with 6 additions and 3 deletions
9
PKGBUILD
9
PKGBUILD
|
|
@ -18,12 +18,15 @@ pkgver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
meson --prefix=/usr --buildtype=release -Db_lto=true -Dc_args="-fno-stack-protector" -Db_pgo=generate ..
|
meson --prefix=/usr --buildtype=release -Db_lto=true -Dc_args="-fno-stack-protector" ..
|
||||||
|
|
||||||
|
meson configure -Db_pgo=generate
|
||||||
ninja
|
ninja
|
||||||
|
|
||||||
# TODO: run something to actually create a profile
|
rm -f alt-random
|
||||||
|
./foot -- sh -c "../scripts/generate-alt-random-writes.py > alt-random && sync && cat alt-random"
|
||||||
|
|
||||||
meson --prefix=/usr --buildtype=release -Db_lto=true -Dc_args="-fno-stack-protector" -Db_pgo=use ..
|
meson configure -Db_pgo=use
|
||||||
ninja
|
ninja
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue