aboutsummaryrefslogtreecommitdiff
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 mazzuca3-16/+49
2019-05-05Fix an assertion exception when misusing install_dataJon Turney4-1/+28
* Failing test case for trying to install_data a custom_target * Validate install_data() arguments are either string or file
2019-05-04Update Users.md [skip ci] (#5358)Amit D1-0/+3
2019-05-03Merge pull request #5185 from mensinda/cmakeLLVMDylan Baker7-26/+220
CMake llvm dependency backend
2019-05-03cmake: Fixed new thread dependencyDaniel Mensinger1-3/+1
2019-05-03cmake: LLVM better modules handlingDaniel Mensinger4-21/+49
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 Mensinger5-5/+108
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 Baker6-7/+24
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 Hostettler2-4/+13
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 Pakkanen30-111/+122
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.D8-8/+67
2019-05-02tests: Extend tests that use Threads internally to set methodDylan Baker3-3/+3
It turns out there's a bug in creating a sub dependency out of threads in that we pass all of the kwargs from the parent to the ThreadDependency instance. This demonstrates the bug.
2019-05-02Add vc++ cpp_std flags to the documentationNicole Mazzuca1-1/+1
2019-05-02Merge pull request #5161 from TheQwertiest/feature/custom_target_linkJussi Pakkanen11-12/+336
Can link against custom_target[i]
2019-05-02mtest: check for an empty suite listPeter Hutterer5-17/+29
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-02Describe how to add support for new compilers. [skip ci]Jussi Pakkanen1-0/+34
2019-05-02Non-required appleframework deps should not be an error. Closes #5295.Jussi Pakkanen3-2/+15
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-29Added additional tests for linking with custom_target[i]TheQwertiest6-0/+269
2019-04-29Use parent `custom_target` for dependency handling (for consistency and ↵TheQwertiest1-1/+1
future-proofing)
2019-04-29Updated docs with information about `custom_target[i]`TheQwertiest1-2/+3
2019-04-29Added tests for custom_target[i]TheQwertiest1-0/+22
2019-04-29Added custom_target[i] support for link_with and link_wholeTheQwertiest3-9/+37
2019-04-29Fixed unnecessary .items()Daniel Mensinger6-14/+14
2019-04-29Address code reviewDaniel Mensinger2-2/+2
2019-04-29Fix unused variables warningsDaniel Mensinger10-17/+17
2019-04-29Fix flake8-bugbear warningsDaniel Mensinger9-29/+35
2019-04-29Fix builtin variable namesDaniel Mensinger14-52/+55
2019-04-29Fix blind exceptionsDaniel Mensinger9-10/+12
2019-04-28consistent invalid escape sequence behaviourJon Turney3-6/+23
* 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-28RPM Macros: Use `meson test` for %meson_testStephen Gallagher1-1/+11
Previously, this called out to the %ninja_test macro to run the tests, but that limits us to only the arguments that ninja can understand. In particular, it is not possible to add a test timeout multiplier (such as is sometimes needed when building for slow architectures such as armv7hl). With this patch, it will be possible to specify `%meson_test -t 5` in the RPM spec file without needing to patch the sources to extend the timeouts, making life easier for packagers. Related: https://github.com/mesonbuild/meson/issues/2037 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-04-28Merge pull request #5323 from scivision/pgiflangJussi Pakkanen6-26/+82
Windows compiler fixes: PGI, Intel