aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-09-08typing: fixup for #7708Daniel Mensinger1-1/+5
2020-09-08typing: fixup of #7688Daniel Mensinger2-3/+3
This bug not beeing caught in review is another reason for adding strict typing support to meson.
2020-09-08typing: Fix code reviewDaniel Mensinger3-37/+12
2020-09-08typing: fix LGTM bot errorDaniel Mensinger1-0/+4
2020-09-08typing: fix code reviewDaniel Mensinger12-42/+43
2020-09-08typing: get rid of most T.castDaniel Mensinger7-16/+21
2020-09-08typing: more fixesDaniel Mensinger19-161/+215
2020-09-08typing: Fix templatesDaniel Mensinger13-24/+28
2020-09-08typing: fix dependencies for new follow_importsDaniel Mensinger4-15/+18
2020-09-08typing: use follow_imports = silentDaniel Mensinger1-1/+1
2020-09-08typing: update run_mypy and mypy.iniDaniel Mensinger2-76/+48
2020-09-08typing: fix envconfig typingDaniel Mensinger2-2/+2
2020-09-08typing: ignore error because of untyped decoratorDaniel Mensinger1-1/+1
2020-09-08typing: fully annotate mintro and mtestDaniel Mensinger3-25/+27
2020-09-08typing: fully annotate mcompile, minit, and msetupDaniel Mensinger4-15/+22
2020-09-08typing: fully annotate fs moduleDaniel Mensinger2-4/+5
2020-09-08typing: fully annotate arglistDaniel Mensinger3-5/+7
2020-09-08typing: fully annotate boost and hdf5 depsDaniel Mensinger3-8/+15
2020-09-08typing: fully annotate scriptsDaniel Mensinger23-152/+184
2020-09-08typing: fully annotate toolsDaniel Mensinger5-21/+23
2020-09-08typing: fully annotate wrapDaniel Mensinger4-35/+41
2020-09-08typing: fully annotate mparser.pyDaniel Mensinger3-18/+31
2020-09-08typing: fully annotate mesonlib.pyDaniel Mensinger3-43/+55
2020-09-08typing: Add run_mypy.py for easier mypy invocationDaniel Mensinger3-2/+84
2020-09-08typing: completely type interpreterbaseDaniel Mensinger1-64/+68
2020-09-08typing: completely type astDaniel Mensinger3-7/+7
2020-09-08typing: refactor dict handlingDaniel Mensinger2-25/+28
2020-09-08IntrospectInterpreter: allow dictionaries with nonconstant keysPaolo Bonzini2-0/+11
Something like {a: foo} currently stymies the IntrospectionInterpreter and breaks introspection of the source directory. The fix is just to walk the keys and return a dummy dictionary. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-09-08Factor out an _add_languages() function in introspectorJon Turney1-11/+15
Factor out an _add_languages() function in introspector, rather than calling func_add_languages() with arguments crafted to fake an interpreter call.
2020-09-08minstall: Print a big FAILED when a script failsNirbheek Chauhan1-4/+6
We don't run any further scripts when this happens, so we need to print a big error. The exit code was already correct. Fixes https://github.com/mesonbuild/meson/issues/7627
2020-09-08Add some type hints to the ExternalProgram classNirbheek Chauhan1-7/+7
2020-09-08Fix picking up tools with args from the env on WindowsNirbheek Chauhan2-3/+26
This was a regression in https://github.com/mesonbuild/meson/pull/7059. We do not need to do a full search for all windows special cases. We only want to check whether the command provided is actually a full path to a script so we can add the interpreter. Fixes https://github.com/mesonbuild/meson/issues/7645
2020-09-07docs/Users: add p11-kit [skip ci]Daiki Ueno1-0/+1
Signed-off-by: Daiki Ueno <ueno@gnu.org>
2020-09-06backends: check external rpaths for all languages using ldflagsJames Hilliard2-2/+3
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2020-09-06Merge pull request #7689 from scivision/fortran_incJussi Pakkanen9-65/+64
correct Fortran include algorithm
2020-09-06ci: update to use latest recommendationsMichael Hirsch3-14/+13
2020-09-06doc: Add missing method arguments [skip ci]Michal Sojka1-21/+21
Documentation of most methods mentions method arguments enclosed in parentheses. Two methods are an exception and we fix them here to make the manual more consistent.
2020-09-05docs: Fix typo in Reference-manual.md [skip ci]Krzysztof Małysa1-1/+1
2020-09-04environment: use ExternalProgram to find ninjaPaolo Bonzini7-18/+22
This allows the NINJA environment variable to support all the Windows special cases, especially allowing an absolute path without extension. Based on a patch by Yonggang Luo. Fixes: #7659 Suggested-by: Nirbheek Chauhan <nirbheek@centricular.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-09-04introspect: add test dependencies info to test/benchmark JSONPaolo Bonzini7-4/+50
Add the ids of any target that needs to be rebuilt before running the tests as computed by the backend, to the introspection data for tests and benchmarks. This also includes anything that appears on the test's command line. Without this information, IDEs must update the entire build before running any test. They can now instead selectively build the test executable itself and anything that is needed to run it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-09-03tests: add fortran cmake subproject include testMichael Hirsch8-45/+42
ci:unused_arg: update ninja version to work with fortran+cmake
2020-09-02fortran: make include scanning also work for CMake subprojectsMichael Hirsch1-20/+22
also fixed PEP8 I originally implemented the "include" scanning, but hadn't made a test for this case
2020-09-02cuda: bump CUDA version since 3.0 is no longer supportedDaniel Mensinger1-2/+2
2020-09-02symbolextractor: Handle PermissionError when running toolNirbheek Chauhan1-0/+5
I can't reproduce this, but it is definitely possible. In this case what we should do is the same as when the tool is not found. Fixes https://github.com/mesonbuild/meson/issues/7605
2020-09-02cmake: Don't link DEBUG to CRT when not building with MSVCNirbheek Chauhan1-1/+3
is_debug doesn't just control the CRT, it also controls the 'debug configuration' which is unrelated to the CRT setting on non-MSVC. Fixes https://github.com/mesonbuild/meson/issues/7631
2020-09-02interpreterbase: Fix typing annotationXavier Claessens1-1/+1
Co-authored-by: Daniel Mensinger <daniel@mensinger-ka.de>
2020-09-02Special case meson.version().version_compare() statementXavier Claessens4-3/+44
when that statement gets evaluated, the interpreter remembers the version target and if it was part of the evaluation of a `if` condition then the target meson version is temporally overriden within that if-block. Fixes: #7590
2020-09-02docs: Add a snippet for python 3.5 deprecation [skip ci]Nirbheek Chauhan1-0/+15
2020-09-02Add test case for cuda compiler setting fixMatt Madison3-0/+40
Signed-off-by: Matt Madison <matt@madison.systems>
2020-09-02environment: do not raise exception in detect_cuda_compilerMatt Madison1-2/+0
when the compiler is not a string. When the compiler is set in the build configuration (required, for example, in a cross-build setup), the compiler setting is already a list, which is the desired type. Signed-off-by: Matt Madison <matt@madison.systems>