diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-08 10:13:31 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-01-03 14:49:02 -0500 |
| commit | f7cde8d3f62c0ae0ef445698a407d1bdb2218cd6 (patch) | |
| tree | 56a4129e486cdb2ae73b7fb5c5fb00168ce0c138 /mesonbuild/dependencies/dev.py | |
| parent | 0a873f6470bf4e621f1ce2eeb250b5f5b918ac63 (diff) | |
| download | meson-f7cde8d3f62c0ae0ef445698a407d1bdb2218cd6.tar.gz | |
Add fatal=False to many mlog.warnings()
There are lots of warnings that become fatal, that are simply unfixable
by the end user. Things like using old versions of software (because
they're using some kind of LTS release), warnings about compilers not
supporting certain kinds of checks, or standards being upgraded due to
skipped implementations (MSVC has c++98 and c++14, but not c++11). None
of these should be fatal, they're informative, and too important to
reduce to notices, but not important enough to stop meson if they're
printed.
Diffstat (limited to 'mesonbuild/dependencies/dev.py')
| -rw-r--r-- | mesonbuild/dependencies/dev.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py index fd43a275d..de711e59e 100644 --- a/mesonbuild/dependencies/dev.py +++ b/mesonbuild/dependencies/dev.py @@ -422,7 +422,7 @@ class LLVMDependencyCMake(CMakeDependency): # cmake if dynamic is required if not self.static: self.is_found = False - mlog.warning('Ignoring LLVM CMake dependency because dynamic was requested') + mlog.warning('Ignoring LLVM CMake dependency because dynamic was requested', fatal=False) return if self.traceparser is None: @@ -455,7 +455,7 @@ class LLVMDependencyCMake(CMakeDependency): if required: raise self._gen_exception(f'LLVM module {mod} was not found') else: - mlog.warning('Optional LLVM module', mlog.bold(mod), 'was not found') + mlog.warning('Optional LLVM module', mlog.bold(mod), 'was not found', fatal=False) continue for i in cm_targets: res += [(i, required)] |
