mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05: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}"
|
||||
|
||||
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
|
||||
ninja -C "${blddir}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue