diff options
author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2022-06-11 01:00:31 +0900 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-10-13 04:18:13 -0400 |
commit | 673dca5c0716d4e9527c055a8a20fa11e1893c5b (patch) | |
tree | 4782cbc7ae47202568da95e3b68ec6cdd7a1b8c6 /docs/markdown/snippets | |
parent | a0032480d6707cdfda75987178a7c8ec0c33cbe9 (diff) | |
download | meson-673dca5c0716d4e9527c055a8a20fa11e1893c5b.zip meson-673dca5c0716d4e9527c055a8a20fa11e1893c5b.tar.gz meson-673dca5c0716d4e9527c055a8a20fa11e1893c5b.tar.bz2 |
Add b_thinlto_cache for automatically configuring incremental ThinLTO
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/thinlto_cache.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/thinlto_cache.md b/docs/markdown/snippets/thinlto_cache.md new file mode 100644 index 0000000..5c6e202 --- /dev/null +++ b/docs/markdown/snippets/thinlto_cache.md @@ -0,0 +1,8 @@ +## Incremental ThinLTO with `b_thinlto_cache` + +[Incremental ThinLTO](https://clang.llvm.org/docs/ThinLTO.html#incremental) can now be enabled by passing +`-Db_thinlto_cache=true` during setup. The use of caching speeds up incremental builds significantly while retaining all +the runtime performance benefits of ThinLTO. + +The cache location defaults to a Meson-managed directory inside the build folder, but can be customized with +`b_thinlto_cache_dir`. |