mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-07 08:21:02 -04:00
PKGBUILD: run 'ninja test' in pgo=generate phase
Otherwise the build fails in the pgo=use phase.
This commit is contained in:
parent
7c2dd93690
commit
a8c0770ce2
1 changed files with 2 additions and 0 deletions
2
PKGBUILD
2
PKGBUILD
|
|
@ -15,11 +15,13 @@ 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" -Db_pgo=generate ..
|
||||||
ninja
|
ninja
|
||||||
|
ninja test
|
||||||
|
|
||||||
tmp_file=$(mktemp)
|
tmp_file=$(mktemp)
|
||||||
./foot --term=xterm -- sh -c "../scripts/generate-alt-random-writes.py --scroll --scroll-region --colors-regular --colors-bright --colors-rgb ${tmp_file} && cat ${tmp_file}"
|
./foot --term=xterm -- sh -c "../scripts/generate-alt-random-writes.py --scroll --scroll-region --colors-regular --colors-bright --colors-rgb ${tmp_file} && cat ${tmp_file}"
|
||||||
rm "${tmp_file}"
|
rm "${tmp_file}"
|
||||||
|
|
||||||
|
# Need to execute *all* binaries... :/
|
||||||
./footclient --version
|
./footclient --version
|
||||||
|
|
||||||
meson configure -Db_pgo=use
|
meson configure -Db_pgo=use
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue