From a8c0770ce2588617026b86b36ee3b786d6b04fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 20 Nov 2019 10:35:44 +0100 Subject: [PATCH] PKGBUILD: run 'ninja test' in pgo=generate phase Otherwise the build fails in the pgo=use phase. --- PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index 6c98fa40..59662267 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,11 +15,13 @@ pkgver() { build() { meson --prefix=/usr --buildtype=release -Db_lto=true -Dc_args="-fno-stack-protector" -Db_pgo=generate .. ninja + ninja test 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}" rm "${tmp_file}" + # Need to execute *all* binaries... :/ ./footclient --version meson configure -Db_pgo=use