diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-12 03:02:09 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-02-17 23:58:20 +0530 |
commit | 53265e3bc23e33b91f7ef9865621bc3f71fb1f30 (patch) | |
tree | 1858e5f6d51767f3bf4aaafa67cf4f8a6732e93a /docs/markdown/snippets | |
parent | 130048583237c30d24b0a09fb6273acb360f2bb6 (diff) | |
download | meson-53265e3bc23e33b91f7ef9865621bc3f71fb1f30.zip meson-53265e3bc23e33b91f7ef9865621bc3f71fb1f30.tar.gz meson-53265e3bc23e33b91f7ef9865621bc3f71fb1f30.tar.bz2 |
minstall: Add a new option --quiet
This is a significant speed-up on Windows because terminals are
slow to print things out.
Speed-up in gst-build on Windows:
```
meson install:
before: 5.1 seconds
after: 4.0 seconds
```
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/minstall_quiet.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/minstall_quiet.md b/docs/markdown/snippets/minstall_quiet.md new file mode 100644 index 0000000..3a7ff31 --- /dev/null +++ b/docs/markdown/snippets/minstall_quiet.md @@ -0,0 +1,11 @@ +## New option `--quiet` to `meson install` + +Now you can run `meson install --quiet` and meson will not verbosely print +every file as it is being installed. As before, the full log is always +available inside the builddir in `meson-logs/install-log.txt`. + +When this option is passed, install scripts will have the environment variable +`MESON_INSTALL_QUIET` set. + +Numerous speed-ups were also made for the install step, especially on Windows +where it is now 300% to 1200% faster than before depending on your workload. |