mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-12 08:21:02 -04:00
pgo: pgo.sh: remove both gcc and clang generated profile stats
This commit is contained in:
parent
2181af0552
commit
5493267bf7
1 changed files with 8 additions and 1 deletions
|
|
@ -78,7 +78,14 @@ export CFLAGS
|
||||||
meson setup --buildtype=release -Db_lto=true "${@}" "${blddir}" "${srcdir}"
|
meson setup --buildtype=release -Db_lto=true "${@}" "${blddir}" "${srcdir}"
|
||||||
|
|
||||||
if [ ${do_pgo} = yes ]; then
|
if [ ${do_pgo} = yes ]; then
|
||||||
find "${blddir}" -name "*.gcda" -delete
|
find "${blddir}" \
|
||||||
|
'(' \
|
||||||
|
-name "*.gcda" -o \
|
||||||
|
-name "*.profraw" -o \
|
||||||
|
-name default.profdata \
|
||||||
|
')' \
|
||||||
|
-delete
|
||||||
|
|
||||||
meson configure "${blddir}" -Db_pgo=generate
|
meson configure "${blddir}" -Db_pgo=generate
|
||||||
ninja -C "${blddir}"
|
ninja -C "${blddir}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue