summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-11Move shell completions and text editor helpers to data/Arseny Maslennikov
2017-11-11Add zsh completion function for MesonArseny Maslennikov
Deprecated Meson syntax is not supported. There are features not yet implemented, like completing build targets and build options; more on this in the comments.
2017-11-10gnome: Add include_directories parameter to gtkdoc()Xavier Claessens
2017-11-10Interpreter: ensure build_def_files defined before parse_project()Dylan Baker
Mesa has 4 build systems currently, set our version in a file called VERSION, and read that in to each build system to simplify the release process. For meson this is accomplished by using run_command within the project() function declaration itself, and with meson <= 0.43.0 this works fine. Commit 1b0048a7022a89f461cf4d01e7cdbf995bab70f5 makes scripts that are run through run_command a rebuild dependency, but the attribute used to store that information is set after the project() command is processed. This breaks mesa. The solution is to set that list before calling parse_project. Fixes #2597
2017-11-09Better check for when address sanitizer is enabled. Closes #2590.Jussi Pakkanen
2017-11-09Print correct command in help messageEric Engestrom
Taking mconf for instance: before: $ meson configure --help usage: meson [-h] [-D SETS] [--clearcache] [directory [directory ...]] after: $ meson configure --help usage: meson configure [-h] [-D SETS] [--clearcache] [directory [directory ...]]
2017-11-09introspect: print `build_by_default` fieldEric Engestrom
2017-11-09llvm: fix static linkingDylan Baker
I left a hack patch in a pull request for LLVM, and the result is that LLVM doesn't link with static builds. The real problem was that some distros have pkg-config for tinfo, other's don't, so the correct solution is to use cpp_compiler.find_library if dependency() fails.
2017-11-09llvm: llvm 5.0 is released and the current stableDylan Baker
So set it as the first versioned config to check for, and add llvm-config-6.0 to the list of configs.
2017-11-08fix include_directories handling in subprojects for compiler tests.Philipp Ittershagen
2017-11-08Merge pull request #2444 from dcbaker/llvmJussi Pakkanen
LLVM: Fix dynamic vs statically linking.
2017-11-08Add description on how to use external and internal dependencies ↵Jussi Pakkanen
interchangeably.
2017-11-07Merge pull request #2564 from jeandet/fix_boost_detection_with_wrong_localeJussi Pakkanen
Fix detection of include dirs with gnu compiler and non US locale
2017-11-07gtkdoc: Pass the linker down to gtkdoc-scangobjXavier Claessens
Closes #2540
2017-11-07docs: fix use of depsJoergen Ibsen
2017-11-06vim: remove double indentEric Engestrom
There is no reason to indent twice inside blocks.
2017-11-06Dump coredata earlier.Elliott Sales de Andrade
Unfortunately, `time.time` and file timestamps are not guaranteed to be in sync and due to various kernel caches may be different enough to cause rebuilds to fail [1]. This was masked by older ninja versions that could not read sub-second timestamps. [1] https://travis-ci.org/mesonbuild/meson/jobs/296797872
2017-11-06Small changes for syntax hightlightDavid Pérez-Suárez
2017-11-06coredata: Remove parse_string() methodXavier Claessens
set_value() already does a better job at parsing strings, such as accepting "True" for a boolean. This fixes issue #2544
2017-11-02Warn when no inc dir is found from parsing GNU compiler outputAlexis Jeandet
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-11-01Fix detection of include dirs with gnu compiler and non C localeAlexis Jeandet
Auto detection was based on parsing gcc's output so we have to ensure that it is always 'C'. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-31Merge pull request #2562 from 1ace/fix/mesontestJussi Pakkanen
Remove references to `mesontest`
2017-10-31interpreter: Add warning functionPaulo Antonio Alvarez
2017-10-31mtest: print correct name in error messageEric Engestrom
2017-10-31man: remove references to `mesontest` in meson(1)Eric Engestrom
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31docs: remove references to `mesontest`Eric Engestrom
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31Added libwmf to the CI image.Jussi Pakkanen
2017-10-31Merge pull request #2551 from mesonbuild/fix2481Jussi Pakkanen
Evaluate subproject directory name correctly
2017-10-31Add LibWmf as a specified dependency, and associated tests.Félix Piédallu
2017-10-31namespace run_targets by subprojectMartin Kelly
Currently, run_target does not get namespaced for each subproject, unlike executable and others. This means that two subprojects sharing the same run_target name cause meson to crash. Fix this by moving the subproject namespacing logic from the BuildTarget class to the Target class.
2017-10-29Merge pull request #2529 from leiflm/qt5-add-moc-extra-arguments-keywordJussi Pakkanen
Qt5-Module: Add `moc_extra_arguments` keyword support.
2017-10-29Fixes the `kwargs` handling.Leif Middelschulte
As suggested by @jeandet. Details: https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72703268
2017-10-29run_command: add command and files as build dependenciesScott D Phillips
2017-10-29Renamed test dir to avoid duplicate numbers.Jussi Pakkanen
2017-10-29Evaluate subproject path correctly. Closes #2481.Jussi Pakkanen
2017-10-29add failing test case for overly-strict sandbox violationAdam C. Foltzer
2017-10-29Fix boost link cmd line when compiler.find_library returns None, ↵Goncalo Carvalho
self.request_modules doesn't have 'boost_' prefix but lib_modules is keyed on 'boost_*'
2017-10-29Check that link_with arguments in declare_dependency are not external ↵Jussi Pakkanen
dependencies.
2017-10-29Merge pull request #2217 from mesonbuild/gcc7Jussi Pakkanen
Use GCC 7 for cross compilation tests.
2017-10-29Raise InvalidArguments when trying to link against stringsLyude Paul
With executable(), if the link_with argument has a string as one of it's elements, meson ends up throwing an AttributeError exception: ... File "/home/lyudess/Projects/meson/mesonbuild/build.py", line 868, in link if not t.is_linkable_target(): AttributeError: 'str' object has no attribute 'is_linkable_target' Which is not very helpful in figuring out where exactly the project is trying to link against a string instead of an actual link target. So, fix this by verifying in BuildTarget.link() that each given target is actually a Target object and not something else. Additionally, add a simple test case for this in failing tests. At the moment, this test case just passes unconditionally due to meson throwing the AttributeError exception and failing as expected. However, this test case will be useful eventually if we ever end up making failing tests more strict about failing gracefully (per advice of QuLogic).
2017-10-29Do not run MPI Fortran tests on Ubuntu Artful.Jussi Pakkanen
2017-10-28Use GCC 7 for cross compilation tests.Jussi Pakkanen
2017-10-28Test GDC shared libraries only from version 8, since 7 is broken in Debian ↵Jussi Pakkanen
at least.
2017-10-27documentation: adds new keyword usage to the given example.Leif Middelschulte
2017-10-27adds "since"-note for the new keyword to the documentationLeif Middelschulte
2017-10-27updates the documentation to follow the list-style to explain arguments.Leif Middelschulte
As per to @jon-turney's and @jpakanne's suggestion [0], this commit changes the "prosa" documentation to a list-style one. [0] https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72265697
2017-10-26docs: add pkgconfig to cross file exampleMike Gilbert
2017-10-26removes unnecessary code as suggested by @jeandetLeif Middelschulte
Details: https://github.com/mesonbuild/meson/pull/2529#discussion_r146985692
2017-10-26removes unnecessary if/else-statement as suggested by @jeandetLeif Middelschulte
Details: https://github.com/mesonbuild/meson/pull/2529#discussion_r146985692
2017-10-26fixes the extended test suite to work with qt5 **and** qt4.Leif Middelschulte