meson/mesonbuild/scripts
Gabriel Ganne e7197895b2 uniform scan-build detection process
Detect scan-build the same way when trying to launch it and when
generating the target.
The detection method is:
  1. look within SCANBUILD env variable
  2. shutil.which('scan-build')
  3. *on non-linux platforms only*: go through all the possible
     name candidates and test them individually.

The third step is added following this comment
https://github.com/mesonbuild/meson/pull/5857#issuecomment-528305788
However, going through a list of all the possible candidates is neither
easily maintainable nor performant, and is therefore skipped on
platforms that should not require such a step (currently, only Linux
platforms).

This is a follow-up to the issue raised by @lantw44 during PR:
https://github.com/mesonbuild/meson/pull/5857
2019-09-14 05:51:36 +03:00
..
__init__.py style: [E1**] Indentation 2017-01-11 12:33:27 -05:00
clangformat.py Also format headers with Clang-Format. Closes #5184. 2019-04-01 01:26:53 +03:00
cleantrees.py
commandrunner.py Better Python exe detector. Closes #4614. 2018-12-12 16:15:18 +02:00
coverage.py Add gcovr 4.2 support 2019-04-24 20:05:21 +02:00
delwithsuffix.py Remove unused variables. 2017-05-17 04:41:54 -04:00
depfixer.py remove unreachable code 2019-08-02 14:31:22 +03:00
dirchanger.py
gettext.py gettext: prefer POTFILES.in if it exists 2019-03-28 23:22:23 +02:00
gtkdochelper.py mesonlib.split_args/quote_arg/join_args 2019-09-05 23:42:47 +03:00
hotdochelper.py modules: Add an 'hotdoc' module 2018-08-28 18:18:40 -03:00
meson_exe.py wine: Try to get the short paths when generating WINEPATH 2019-08-24 06:43:47 -04:00
msgfmthelper.py i18n: add args keyword to merge_file 2019-04-22 14:54:05 +03:00
regen_checker.py Set the meson command to use when we know what it is 2018-06-01 19:20:04 +00:00
scanbuild.py uniform scan-build detection process 2019-09-14 05:51:36 +03:00
symbolextractor.py Don't use len() to test for container emptiness 2019-04-25 12:28:51 -07:00
uninstall.py Remove directories created by ninja install 2017-08-01 11:40:28 +01:00
vcstagger.py Read file as utf8 on python3 2019-04-03 21:42:15 +03:00
yelphelper.py gnome.yelp(): Fix media symlink fallback path 2019-06-06 19:15:04 +03:00