aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-08-31 19:14:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-12 08:39:43 +0000
commit098f2c0c88d7ba4c0a57bea572d9d4819eea3b94 (patch)
tree629a7c1363c2c7f7b6da146c686b68a7d5b2fd55
parentmeson-pgo: do mode validation and mode evaluation at the same time (diff)
meson-pgo: use as little path quoting as possible
-rwxr-xr-xmeson-pgo.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/meson-pgo.sh b/meson-pgo.sh
index ed673316..9ad2ad26 100755
--- a/meson-pgo.sh
+++ b/meson-pgo.sh
@@ -116,7 +116,7 @@ if [ ${do_pgo} = yes ]; then
partial)
./footclient --version
./foot --version
- "${source_dir}/scripts/generate-alt-random-writes.py" \
+ "${source_dir}"/scripts/generate-alt-random-writes.py \
--rows=67 \
--cols=135 \
${script_options} \
@@ -129,7 +129,10 @@ if [ ${do_pgo} = yes ]; then
rm "${tmp_file}"
if [ ${compiler} = clang ]; then
- llvm-profdata merge "${build_dir}"/default_*.profraw --output="${build_dir}/default.profdata"
+ llvm-profdata \
+ merge \
+ "${build_dir}"/default_*.profraw \
+ --output="${build_dir}"/default.profdata
fi
meson configure "${build_dir}" -Db_pgo=use