Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unit tests: Run native file tests on the CInirbheek/run-nativefile-tests-on-ci-fix-on-macos | Nirbheek Chauhan | 2019-01-30 | 1 | -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 latter | John Ericson | 2019-01-30 | 2 | -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 module | Michael Hirsch, Ph.D | 2019-01-29 | 3 | -8/+22 |
| | |||||
* | pep8 py37 | Michael Hirsch, Ph.D | 2019-01-29 | 13 | -31/+31 |
| | |||||
* | correct naming to CudaCompiler, pep8 | Michael Hirsch, Ph.D | 2019-01-29 | 3 | -3/+3 |
| | |||||
* | raise an error if PCH files are stored in different folders | Nicolas Schneider | 2019-01-29 | 5 | -0/+9 |
| | |||||
* | vs: fix PCH | Nicolas Schneider | 2019-01-29 | 2 | -23/+33 |
| | |||||
* | Disable mixed (mscv/clang + gnu) Windows Fortran tests. Closes #4829. | Jussi Pakkanen | 2019-01-28 | 3 | -11/+19 |
| | |||||
* | BUGFIX: broken/missing Fortran code/unit tests | Michael Hirsch, Ph.D | 2019-01-27 | 18 | -121/+149 |
| | |||||
* | fix non-default option printing | Nicolas Schneider | 2019-01-27 | 1 | -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/astVisitor | Jussi Pakkanen | 2019-01-27 | 22 | -393/+1459 |
|\ | | | | | rewriter: Rewrote the meson rewriter - now works with AST modification | ||||
| * | Fixed style issues | Daniel Mensinger | 2019-01-24 | 2 | -23/+17 |
| | | |||||
| * | Fixed test case and setup.py | Daniel Mensinger | 2019-01-22 | 2 | -7/+4 |
| | | |||||
| * | Fixed flake8 issues | Daniel Mensinger | 2019-01-22 | 4 | -9/+8 |
| | | |||||
| * | Removed old test files | Daniel Mensinger | 2019-01-22 | 3 | -11/+0 |
| | | |||||
| * | Added subdir test | Daniel Mensinger | 2019-01-22 | 5 | -2/+36 |
| | | |||||
| * | Can now rewrite files | Daniel Mensinger | 2019-01-22 | 5 | -4/+120 |
| | | |||||
| * | Fixed line and column numbers for dict and array nodes | Daniel Mensinger | 2019-01-22 | 1 | -8/+8 |
| | | |||||
| * | Added support for removing sources from a target | Daniel Mensinger | 2019-01-22 | 3 | -12/+159 |
| | | |||||
| * | Added suport for adding sources to a target | Daniel Mensinger | 2019-01-22 | 3 | -27/+89 |
| | | |||||
| * | First rewriter test case | Daniel Mensinger | 2019-01-22 | 8 | -90/+339 |
| | | |||||
| * | Added support for assignments in the AST interpretor | Daniel Mensinger | 2019-01-22 | 1 | -2/+9 |
| | | |||||
| * | Updated basic rewrite testcase | Daniel Mensinger | 2019-01-22 | 1 | -1/+2 |
| | | |||||
| * | Added target AST Interpreter support | Daniel Mensinger | 2019-01-22 | 2 | -8/+115 |
| | | |||||
| * | Removed the RewriteIntrepreter | Daniel Mensinger | 2019-01-22 | 2 | -146/+1 |
| | | |||||
| * | AST post processing | Daniel Mensinger | 2019-01-22 | 6 | -77/+173 |
| | | |||||
| * | Moved the introspection interpreter | Daniel Mensinger | 2019-01-22 | 5 | -115/+132 |
| | | |||||
| * | Added Ast printer | Daniel Mensinger | 2019-01-22 | 3 | -6/+196 |
| | | |||||
| * | Basic AST visitor pattern | Daniel Mensinger | 2019-01-22 | 7 | -57/+263 |
| | | |||||
* | | vs: escape embedded quotes of run targets | Nicolas Schneider | 2019-01-27 | 1 | -0/+3 |
| | | |||||
* | | run_command: add env kwarg | Jan Tojnar | 2019-01-27 | 5 | -13/+42 |
| | | |||||
* | | Add install_dir to i18n.gettext | Sergey Shatunov | 2019-01-26 | 2 | -2/+5 |
| | | |||||
* | | Try multiple CMAKE_LIBRARY_ARCHITECTURE. Closes #4812 | Daniel Mensinger | 2019-01-24 | 1 | -11/+18 |
| | | |||||
* | | Fixed spelling [skip ci] | Daniel Mensinger | 2019-01-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4818 from xclaesse/location | Jussi Pakkanen | 2019-01-24 | 2 | -30/+37 |
|\ \ | | | | | | | Pass location to many warning messages | ||||
| * | | Interpreter: Add a location to all mlog.warning() calls | Xavier Claessens | 2019-01-22 | 1 | -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 calls | Xavier Claessens | 2019-01-22 | 1 | -21/+14 |
| | | | | | | | | | | | | Closes: #4813. | ||||
| * | | Interpreter: Add current_node to 'state' passed to module methods | Xavier Claessens | 2019-01-22 | 1 | -1/+2 |
| | | | | | | | | | | | | The current node is useful to pass as location to mlog.warning(). | ||||
| * | | Interpreter: Set self.current_node during method/function calls | Xavier Claessens | 2019-01-22 | 1 | -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 #4817 | Christoph Reiter | 2019-01-24 | 2 | -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 Claessens | 2019-01-24 | 1 | -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 differs | Nirbheek Chauhan | 2019-01-23 | 2 | -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/cudarebase | Jussi Pakkanen | 2019-01-23 | 15 | -2/+375 |
|\ \ | | | | | | | Add Cuda support | ||||
| * | | Add release note snippet.cudarebase | Jussi Pakkanen | 2019-01-22 | 1 | -0/+7 |
| | | | |||||
| * | | All the fixes needed to make work against current master. | Jussi Pakkanen | 2019-01-21 | 4 | -11/+28 |
| | | | |||||
| * | | Convert basic test to print out card info. | Jussi Pakkanen | 2019-01-21 | 1 | -4/+26 |
| | | | |||||
| * | | More tests and pic. | Jussi Pakkanen | 2019-01-21 | 9 | -0/+68 |
| | | | |||||
| * | | Clean up minor issues. | Jussi Pakkanen | 2019-01-21 | 2 | -10/+10 |
| | | | |||||
| * | | added cuda compiler | Beau Johnston | 2019-01-21 | 6 | -2/+261 |
| |/ | |||||
* | | dependencies/llvm: add debian's llvm-9 | Dylan Baker | 2019-01-23 | 1 | -1/+2 |
|/ | | | | Debian has already pushed llvm-9 into experimental |