diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-07-21 08:43:15 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2023-07-21 09:31:21 -0400 |
| commit | 047c2d644cdb006d01ce35f2fef76247ccb15335 (patch) | |
| tree | caafcdf1a67d261912a1441f5c47e2cb00dbdddf /mesonbuild/msetup.py | |
| parent | 1bca73cc376b275e79f01416e7963f359534dffb (diff) | |
| download | meson-047c2d644cdb006d01ce35f2fef76247ccb15335.tar.gz | |
Display more timestamps when profiling ninja
When running setup with `--profile-self` option,
there are currently no logs after "Found ninja...". However, there are
still some lengthy processes for generating targets and ninja.build.
This add more log entries, when profiling, only for the purpose of
displaying the timestamps of the different steps in ninja generation.
Diffstat (limited to 'mesonbuild/msetup.py')
| -rw-r--r-- | mesonbuild/msetup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py index 61d66f249..e6c122092 100644 --- a/mesonbuild/msetup.py +++ b/mesonbuild/msetup.py @@ -293,6 +293,8 @@ class MesonApp: with open(fname, 'w', encoding='utf-8') as f: json.dump(data, f) + mlog.log("meson setup completed") # Display timestamp + except Exception as e: mintro.write_meson_info_file(b, [e]) if cdf is not None: |
