pgo: pgo.sh: remove both gcc and clang generated profile stats

This commit is contained in:
Daniel Eklöf 2021-09-04 18:50:05 +02:00
parent 2181af0552
commit 5493267bf7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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}"