summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* unit tests: Run native file tests on the CInirbheek/run-nativefile-tests-on-ci-fix-on-macosNirbheek Chauhan2019-01-301-18/+37
| | | | | | | | | | | The native file tests were never run on the CI since they were skipped on Windows and also skipped on Linux and macOS since CC/CXX/etc are always set by the CI. Also fix test failure on macOS. The test was assuming that because /usr/bin/gcc and /usr/bin/clang exist on macOS, they must be different compilers. They're not. gcc is just a wrapper around clang, and we correctly detect it as such.
* Overhaul pkg-config and CMake lookup, fixing the latterJohn Ericson2019-01-302-123/+157
| | | | | | | | | | | | | | | | | | | | | | | | First, I noticed there was a dangling use of now-removed cross_info in the CMake lookup. No tests had caught this, but it means that CMake deps were totally broken. [It also meant that CMake could not be specified from a native file.] In a previous of mine PR which removed cross_info, I overhauled finding pkg-config a bit so that the native and cross paths were shared. I noticed that the CMake code greatly resembled the pkg-config code, so I set about fixing it to match. I then realized I could refactor things further, separating caching, finding alternatives, and validating them, while also making the validations less duplicated. So I ended up changing pkg config lookup a lot too (and CMake again, to keep matching). Overall, I think I have the proper ideom for tool lookup now, repated in two places. I think it would make sense next to share this logic between these two, compilers, static linkers, and any other tool similarly specifiable. Either the `BinaryTable` class in environment.py, or a new class for `Compiler` and friends to subclass, would be good candidates for this.
* BUGFIX: allow fc.run(code) to work, pick only Fortran moduleMichael Hirsch, Ph.D2019-01-293-8/+22
|
* pep8 py37Michael Hirsch, Ph.D2019-01-2913-31/+31
|
* correct naming to CudaCompiler, pep8Michael Hirsch, Ph.D2019-01-293-3/+3
|
* raise an error if PCH files are stored in different foldersNicolas Schneider2019-01-295-0/+9
|
* vs: fix PCHNicolas Schneider2019-01-292-23/+33
|
* Disable mixed (mscv/clang + gnu) Windows Fortran tests. Closes #4829.Jussi Pakkanen2019-01-283-11/+19
|
* BUGFIX: broken/missing Fortran code/unit testsMichael Hirsch, Ph.D2019-01-2718-121/+149
|
* fix non-default option printingNicolas Schneider2019-01-271-3/+4
| | | | | | | | Previously, the default option string was compared to the actual project option that has been converted to the proper type. This lead to messages like 'Option x is: true [default: true]'. Fixes #4806.
* Merge pull request #4814 from mensinda/astVisitorJussi Pakkanen2019-01-2722-393/+1459
|\ | | | | rewriter: Rewrote the meson rewriter - now works with AST modification
| * Fixed style issuesDaniel Mensinger2019-01-242-23/+17
| |
| * Fixed test case and setup.pyDaniel Mensinger2019-01-222-7/+4
| |
| * Fixed flake8 issuesDaniel Mensinger2019-01-224-9/+8
| |
| * Removed old test filesDaniel Mensinger2019-01-223-11/+0
| |
| * Added subdir testDaniel Mensinger2019-01-225-2/+36
| |
| * Can now rewrite filesDaniel Mensinger2019-01-225-4/+120
| |
| * Fixed line and column numbers for dict and array nodesDaniel Mensinger2019-01-221-8/+8
| |
| * Added support for removing sources from a targetDaniel Mensinger2019-01-223-12/+159
| |
| * Added suport for adding sources to a targetDaniel Mensinger2019-01-223-27/+89
| |
| * First rewriter test caseDaniel Mensinger2019-01-228-90/+339
| |
| * Added support for assignments in the AST interpretorDaniel Mensinger2019-01-221-2/+9
| |
| * Updated basic rewrite testcaseDaniel Mensinger2019-01-221-1/+2
| |
| * Added target AST Interpreter supportDaniel Mensinger2019-01-222-8/+115
| |
| * Removed the RewriteIntrepreterDaniel Mensinger2019-01-222-146/+1
| |
| * AST post processingDaniel Mensinger2019-01-226-77/+173
| |
| * Moved the introspection interpreterDaniel Mensinger2019-01-225-115/+132
| |
| * Added Ast printerDaniel Mensinger2019-01-223-6/+196
| |
| * Basic AST visitor patternDaniel Mensinger2019-01-227-57/+263
| |
* | vs: escape embedded quotes of run targetsNicolas Schneider2019-01-271-0/+3
| |
* | run_command: add env kwargJan Tojnar2019-01-275-13/+42
| |
* | Add install_dir to i18n.gettextSergey Shatunov2019-01-262-2/+5
| |
* | Try multiple CMAKE_LIBRARY_ARCHITECTURE. Closes #4812Daniel Mensinger2019-01-241-11/+18
| |
* | Fixed spelling [skip ci]Daniel Mensinger2019-01-241-1/+1
| |
* | Merge pull request #4818 from xclaesse/locationJussi Pakkanen2019-01-242-30/+37
|\ \ | | | | | | Pass location to many warning messages
| * | Interpreter: Add a location to all mlog.warning() callsXavier Claessens2019-01-221-8/+13
| | | | | | | | | | | | | | | | | | Now that the current node is always available as self.current_node in both function and method calls, it's easy to pass it to warning messages.
| * | InterpreterBase: Fix extracting the node in all method/function callsXavier Claessens2019-01-221-21/+14
| | | | | | | | | | | | Closes: #4813.
| * | Interpreter: Add current_node to 'state' passed to module methodsXavier Claessens2019-01-221-1/+2
| | | | | | | | | | | | The current node is useful to pass as location to mlog.warning().
| * | Interpreter: Set self.current_node during method/function callsXavier Claessens2019-01-221-0/+8
| |/ | | | | | | | | | | | | The current node is useful to pass as location kwarg to mlog.warning(). The node is not passed to InterpreterObject method arguments, and it's easier to have it on the object than passing it through argument everywhere.
* | configure_file: preserve newlines of the input file. Fixes #4817Christoph Reiter2019-01-242-2/+36
| | | | | | | | | | | | | | | | | | | | | | In some cases (see #4817) it's helpful if the output file uses the same newlines as the input file without translating them to the platform defaults. open() by default recognizes all newline styles and translates them to "\n" and then to the platform default when writing. Passing "" to "newline" disables the translation and lets us pass through the original newline characters.
* | NotFoundDependency: Implement partial_dependency()Xavier Claessens2019-01-241-0/+4
| | | | | | | | | | | | | | | | In recent change, dependency('foo') does not return a not-found PkgConfigDependency any more, but a NotFoundDependency object. This creates a regression in gst-build that does dependency('foo').get_partial_dependency() causing Meson to raise an exception.
* | coredata: Only reject a load if major version differsNirbheek Chauhan2019-01-232-4/+27
| | | | | | | | | | | | Our builddir ABI is stable across minor (stable) releases, so there is no need to force a wipe. We already release pretty often, no need to force people to wipe twice as often.
* | Merge pull request #3919 from mesonbuild/cudarebaseJussi Pakkanen2019-01-2315-2/+375
|\ \ | | | | | | Add Cuda support
| * | Add release note snippet.cudarebaseJussi Pakkanen2019-01-221-0/+7
| | |
| * | All the fixes needed to make work against current master.Jussi Pakkanen2019-01-214-11/+28
| | |
| * | Convert basic test to print out card info.Jussi Pakkanen2019-01-211-4/+26
| | |
| * | More tests and pic.Jussi Pakkanen2019-01-219-0/+68
| | |
| * | Clean up minor issues.Jussi Pakkanen2019-01-212-10/+10
| | |
| * | added cuda compilerBeau Johnston2019-01-216-2/+261
| |/
* | dependencies/llvm: add debian's llvm-9Dylan Baker2019-01-231-1/+2
|/ | | | Debian has already pushed llvm-9 into experimental