summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix detection to work with never Java compilers.java9Jussi Pakkanen2018-03-291-1/+1
|
* Document the new and improved review guidelines. [skip ci]Jussi Pakkanen2018-03-221-0/+39
|
* Enable CI builds for release branchesAleksey Filippov2018-03-212-0/+4
|
* Fix b_ndebug=if-release silently not workingJussi Pakkanen2018-03-2110-6/+102
|\
| * Disable b_ndebug tests on MSVCAleksey Filippov2018-03-213-0/+12
| |
| * Fix b_ndebug=if-release optionAleksey Filippov2018-03-213-6/+26
| | | | | | | | Provide get_{type}_options_for_target() methods that unite {type} and builtin options.
| * Add unittests for b_ndebug=if-release and buildtype interactionsAleksey Filippov2018-03-213-0/+28
| |
| * Add tests for b_ndebug=if-release and buildtype default optionsAleksey Filippov2018-03-214-0/+36
| | | | | | | | Co-authored-by: David Seifert <soap@gentoo.org>
* | Do not install configure_file output if install_dir is empty. Closes #3270.Jussi Pakkanen2018-03-213-3/+12
|/
* Open mesontest logfiles in utf-8 modenyorain2018-03-201-2/+2
| | | | | Otherwise unit tests fail on windows when they output some non-utf8 data.
* Grab a file lock on the build dir during modifications.Jussi Pakkanen2018-03-203-1/+53
|
* Docs: Correct env variable SCAN_BUILD to SCANBUILDMarvin Scholz2018-03-201-2/+2
|
* options: s/yiel/yield/ typoThibault Saunier2018-03-201-1/+1
| | | | Making the option unusable with Invalid kwargs for option use_orc: "yield"
* Merge pull request #3223 from sarum9in/renameJussi Pakkanen2018-03-2015-8/+58
|\ | | | | Add install_data() rename parameter
| * Add install_data() rename snippetAleksey Filippov2018-03-191-0/+11
| |
| * Add install_data() rename documentationAleksey Filippov2018-03-192-0/+20
| |
| * Add install_data() failing rename testAleksey Filippov2018-03-173-0/+3
| |
| * Add install_data() succeeding rename testsAleksey Filippov2018-03-176-0/+10
| |
| * Add rename parameter to install_data()Aleksey Filippov2018-03-173-8/+14
| |
* | Create a helper for checking if a string has a path componentNirbheek Chauhan2018-03-195-13/+20
| | | | | | | | | | This is used in a number of places, and in some places it is incomplete. Use a helper to ensure it's used properly.
* | Merge pull request #3251 from mesonbuild/fixpkgconfigdepsJussi Pakkanen2018-03-199-5/+106
|\ \ | | | | | | Fix pkg-config dependencies leaking out (debbug 892956)
| * | Fix existing tests.Jussi Pakkanen2018-03-193-3/+13
| | |
| * | Do not leak out private dependencies for shared libraries.Jussi Pakkanen2018-03-172-1/+18
| | |
| * | Add test for pkgconfig generation and usage.Jussi Pakkanen2018-03-167-2/+76
| | | | | | | | | | | | | | | This builds a project with pkg-config file, installs it and then builds a second project that uses that dependency and runs the result.
* | | Add -Wl,-dead_strip_dylibs supportDavid Seifert2018-03-197-3/+91
| | | | | | | | | | | | | | | * `-Wl,-dead_strip_dylibs` is the analogue of `-Wl,--as-needed` on macOS.
* | | fixing some typos on the icestorm pageFelipe Corrêa da Silva Sanches2018-03-191-3/+3
| | |
* | | introspect: tests: Inform about tests run parallelizationThibault Saunier2018-03-181-0/+1
| | |
* | | Project-templates.md: Fix help command name [skip ci]Martin Hostettler2018-03-181-1/+1
| | |
* | | Replaced appveyor account by mesonbuildAleksey Filippov2018-03-181-1/+1
| |/ |/|
* | Fix appveyor failures: do not use PowerShell since it triggers ↵Aleksey Filippov2018-03-171-14/+8
| | | | | | | | | | | | | | NativeCommandError if pacman prints to stderr Split command to avoid "The input line is too long." error. Also use --needed for pacman to not reinstall already installed packages.
* | Use target.get_id() instead of basename and type_suffix concatenation at ↵Aleksey Filippov2018-03-159-14/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | call site Fixes the bug with flat layout and identical target names in subprojects. Without this change directories are not created with subproject prefix and they can collide. Remove dead makedirs code in Backend.__init__(), during initialization of backend build.targets is empty. Create output directories in Vs2010Backend.generate_projects() instead. Also use double blank line in run_unittests.py according to https://www.python.org/dev/peps/pep-0008/#blank-lines.
* | Fix FileNotFoundError when restorecon unavailableFabrice Fontaine2018-03-151-0/+4
| | | | | | | | | | | | | | Fixes: - http://autobuild.buildroot.net/results/d5dcdfdfab3503fdc387f99e68267972a38c417d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* | Turn deprecated commands into errors.Jussi Pakkanen2018-03-145-16/+11
| |
* | Merge pull request #3127 from bluetech/method-permitted-kwargsJussi Pakkanen2018-03-135-2/+138
|\ \
| * | Warn if non-permitted keyword arguments are given to compiler methodsRan Benita2018-02-234-1/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | This can help future generations avoid mistakes like this: https://github.com/xkbcommon/libxkbcommon/commit/edb1c662394578a54b7bbed231d918925e5d8150 To avoid breaking builds, this is currently just an error. After sufficient time has passed this can hopefully become a hard error, similarly to the already-existing `permittedKwargs` warnings.
| * | Remove invalid kwarg from test cases/linuxlike/9 compiler checks with ↵Ran Benita2018-02-231-1/+1
| | | | | | | | | | | | | | | | | | dependencies cc.has_function() does not accept a `name` keyword argument.
* | | Merge pull request #3145 from thejk/gcovrJussi Pakkanen2018-03-136-16/+61
|\ \ \ | | | | | | | | Support gcovr >= 3.1 and add gcovr html report as fallback
| * | | fixup! Fix coverage-xml and coverage-text targets for gcovr >= 3.1Joel Klinghed2018-03-131-1/+2
| | | | | | | | | | | | | | | | Fix fail cases of detect_gcovr
| * | | fixup! Allow gcovr >= 3.1 to be used to generate html coverage reportJoel Klinghed2018-03-123-5/+5
| | | | | | | | | | | | | | | | Rename gcovr_3_1 to gcovr_new_rootdir
| * | | fixup! Fix coverage-xml and coverage-text targets for gcovr >= 3.1Joel Klinghed2018-03-123-6/+6
| | | | | | | | | | | | | | | | Rename gcovr_3_1 to gcovr_new_rootdir
| * | | Allow gcovr >= 3.1 to be used to generate html coverage reportJoel Klinghed2018-02-275-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modern gcovr includes html generation support so if lcov and genhtml are not available fallback to gcovr. Kept lcov and genhtml as default so to not surprise existing users of coverage-html with the different output of gcovr. gcovr added html support in 3.0 but as there already is a test for 3.1 because of the changes to -r/--rootdir I opted to only allow html generation for >= 3.1 to keep things simple.
| * | | Fix coverage-xml and coverage-text targets for gcovr >= 3.1Joel Klinghed2018-02-273-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In gcovr 3.1 the -r/--rootdir argument changed meaning causing reports generated with gcovr 3.1 to not find the source files and look for *.gcda in the whole source tree rather than the build dir. So, detect gcovr version and if 3.1 give build_root to -r instead of source_root.
* | | | pkgconfig: allow any non-found dependency requires argumentsAleksey Filippov2018-03-131-0/+2
| | | | | | | | | | | | | | | | | | | | On some platforms such as OSX external dependency falls back to different dependency types if it is not found.
* | | | pkgconfig: print requires argument type on errorAleksey Filippov2018-03-131-1/+2
| |_|/ |/| |
* | | Fix snippet heading to conform to new formatting rules.Jussi Pakkanen2018-03-131-1/+1
| | |
* | | Merge pull request #3205 from sarum9in/use-itertoolsJussi Pakkanen2018-03-126-14/+10
|\ \ \
| * | | Use specific exception types instead of ExceptionAleksey Filippov2018-03-122-3/+3
| | | |
| * | | Use subprocess.check_output() instead of Popen().communicate()Aleksey Filippov2018-03-111-6/+2
| | | |
| * | | Do not use bare except [flake8]Aleksey Filippov2018-03-114-6/+6
| | | | | | | | | | | | | | | | | | | | Use more specific exception types where appropriate. This patch does not change bare except calls if exception is re-raised.
| * | | Use itertools.chain() instead of list concatenationAleksey Filippov2018-03-112-2/+2
| | | |