Commit graph

7 commits

Author SHA1 Message Date
Daniel Eklöf
ac9b3025d8
meson-pgo: improved argument validation 2021-09-12 10:39:43 +02:00
Daniel Eklöf
a3b6ecf3b2
meson-pgo: add mode=none 2021-09-12 10:39:43 +02:00
Daniel Eklöf
8ea6c93515
meson-pgo: ‘auto’ now prefers full-headless-sway 2021-09-12 10:39:43 +02:00
Daniel Eklöf
5ab1cd3d64
meson-pgo: initial support for full PGO through headless Sway 2021-09-12 10:39:42 +02:00
Daniel Eklöf
ecf1b30d53
meson-pgo: remove debug output 2021-09-12 10:39:42 +02:00
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