Commit graph

2 commits

Author SHA1 Message Date
Daniel Eklöf
ffc6fd7e03
meson-pgo: realpath() on build dir too 2021-09-12 10:39:42 +02:00
Daniel Eklöf
996356983b
meson-pgo: initial version of a meson wrapper script for PGO builds
Usage: meson-pgo.sh auto|partial|full <source-dir> <build-dir> <meson-options>

Note: build-dir must *not* exist before the script is run (but if it
does, the script will tell you so, and exit).

Supported compilers: gcc and clang

The script does *not* add _any_ custom meson options, except configure
-Db_pgo. Thus, you probably want to call it like this:

  meson-pgo.sh auto . /tmp/foot-pgo-build --buildtype=release -Db_lto=true
2021-09-12 10:39:42 +02:00