aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
AgeCommit message (Collapse)AuthorFilesLines
2019-05-05Revert "Merge pull request #5323 from scivision/pgiflang"revert5323Jussi Pakkanen6-82/+26
This reverts commit 9cd89f55fca0933dd2897ac7470c5827d939e0ac, reversing changes made to 60969d99d33001317c569a9b37d3b9efae08d387.
2019-05-05fix error when show default config of listClouds1-1/+1
the error would occurs when specifying c_winlibs
2019-05-05add -fno-exceptions if cpp_eh=none is specified nicole mazzuca1-8/+38
2019-05-05Fix an assertion exception when misusing install_dataJon Turney1-1/+3
* Failing test case for trying to install_data a custom_target * Validate install_data() arguments are either string or file
2019-05-03cmake: Fixed new thread dependencyDaniel Mensinger1-3/+1
2019-05-03cmake: LLVM better modules handlingDaniel Mensinger3-20/+48
2019-05-03cmake: revert module name mappingDaniel Mensinger2-11/+34
2019-05-03cmake: minor code fixesDaniel Mensinger2-9/+11
2019-05-03cmake: Fixed list unit testDaniel Mensinger1-11/+5
2019-05-03CMake: optional modules supportDaniel Mensinger3-10/+20
2019-05-03LLVM: Added CMake backendDaniel Mensinger2-2/+105
2019-05-03cmake: Support different CMake filesDaniel Mensinger1-2/+21
2019-05-03LLVM dependency refactoringDaniel Mensinger1-1/+18
2019-05-02Merge pull request #5254 from dcbaker/fix-sub-dependenciesDylan Baker3-4/+21
Fix sub dependencies
2019-05-02Merge pull request #4952 from mensinda/cacheCompilesDylan Baker13-140/+179
Cache compilers.compile() in coredata
2019-05-02envconfig: mingw is also WindowsRoss Burton1-2/+2
Also change the same idiom for Darwin to use a set().
2019-05-02munstable_coredata: Adapt to coredata changes.Martin Hostettler1-4/+7
2019-05-02mesonlib: Make a few type annotations stringsDylan Baker2-4/+5
Mypy know what to do with these and isn't confused, but some versions of python 3.5 (at least 3.5.2) can't handle these annotations. By making them strings the python interpreter wont try to evaluate them. Fixes #5326
2019-05-02Merge pull request #5311 from mensinda/flake8PluginsJussi Pakkanen24-101/+106
Added flake8 plugins and some code fixes
2019-05-02dependencies: Use the _add_sub_dependencyDylan Baker2-4/+4
2019-05-02dependencies/base: Add a new method for setting internal dependenciesDylan Baker1-0/+17
When we create a dependency as part of another dependency (say Threads), we want to pass down most of the methods (like required). Currently however, there is the possibility that we can pass down invalid keyword arguments, such as 'method'. This new method is meant to work around that my simplifying and centralizing how we pass these dependencies down.
2019-05-02per-target manual specification of link_languageMichael Hirsch, Ph.D2-7/+20
2019-05-02Merge pull request #5161 from TheQwertiest/feature/custom_target_linkJussi Pakkanen3-10/+42
Can link against custom_target[i]
2019-05-02mtest: check for an empty suite listPeter Hutterer1-1/+1
For consistency, it can be useful to have an explicit empty test suite list for a test: test('test-name', binary, suite: []) This currently passes meson but fails when running meson tests: Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 122, in run return options.run_func(options) File "/usr/lib/python3.7/site-packages/mesonbuild/mtest.py", line 1005, in run return th.doit() File "/usr/lib/python3.7/site-packages/mesonbuild/mtest.py", line 756, in doit self.run_tests(tests) File "/usr/lib/python3.7/site-packages/mesonbuild/mtest.py", line 896, in run_tests visible_name = self.get_pretty_suite(test) File "/usr/lib/python3.7/site-packages/mesonbuild/mtest.py", line 875, in get_pretty_suite rv = TestHarness.split_suite_string(test.suite[0])[0] IndexError: list index out of range Fix it by simply checking for the test suite to be a valid list we can pass on Fixes #5340 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-05-02Non-required appleframework deps should not be an error. Closes #5295.Jussi Pakkanen2-2/+12
2019-05-02Add some type annotations and fix lintsJohn Ericson8-21/+20
Some things, like `method[...](...)` or `x: ... = ...` python 3.5 doesn't support, so I made a comment instead with the intention that it can someday be made into a real annotation.
2019-05-01Don't close fds when executing programsMichael Olbrich1-1/+1
This is basically the same as #1612 just for new new Popen_safe_legacy().
2019-04-29Do not pass None to mlog.exceptionDaniel Mensinger1-1/+1
2019-04-29Cleaned up `isinstance` usageTheQwertiest2-6/+6
2019-04-29Added special handling of CustomTargetIndex in VS backendTheQwertiest1-1/+5
2019-04-29Use parent `custom_target` for dependency handling (for consistency and ↵TheQwertiest1-1/+1
future-proofing)
2019-04-29Added custom_target[i] support for link_with and link_wholeTheQwertiest3-9/+37
2019-04-29Fixed unnecessary .items()Daniel Mensinger5-13/+13
2019-04-29Address code reviewDaniel Mensinger2-2/+2
2019-04-29Fix unused variables warningsDaniel Mensinger7-14/+14
2019-04-29Fix flake8-bugbear warningsDaniel Mensinger8-29/+34
2019-04-29Fix builtin variable namesDaniel Mensinger11-50/+50
2019-04-29Fix blind exceptionsDaniel Mensinger6-6/+6
2019-04-28consistent invalid escape sequence behaviourJon Turney1-6/+6
* docs: document unrecognized escape sequence behaviour [skip ci] Document that unrecognized escape sequence behaviour is like python, not C. * Don't try to decode invalid hex escape sequences Don't try to decode escape sequences which should contain a sequence of hex digits, but don't, throwing a python exception. These will treated literally instead. * Extend test case to cover invalid escape sequences
2019-04-28Merge pull request #5309 from jon-turney/ninja-backend-refactoringJussi Pakkanen1-383/+380
Ninja backend refactoring
2019-04-28Merge pull request #5323 from scivision/pgiflangJussi Pakkanen6-26/+82
Windows compiler fixes: PGI, Intel
2019-04-28Merge pull request #5265 from dcbaker/more-annotationsJussi Pakkanen3-126/+150
Fully annotate the envconfig and mlog modules
2019-04-28cmake: Use CMAKE_ROOT instead of _INCLUDE_FILE (closes #5218)Daniel Mensinger1-10/+2
2019-04-28Moved caching into a seperate functionDaniel Mensinger4-31/+45
2019-04-28Disable cache for dependenciesDaniel Mensinger5-12/+12
2019-04-28Add disable_cache to the fortran compilerDaniel Mensinger1-6/+6
2019-04-28Add option to disable the cacheDaniel Mensinger1-8/+8
2019-04-28Changing cached flag from True to FalseDaniel Mensinger1-1/+1
2019-04-28Fixed typeingDaniel Mensinger1-12/+12
2019-04-28Make flake8 happyDaniel Mensinger1-2/+2