summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* llvm: Output stderr when generating libs/flags/etc failsllvm-better-errorsNirbheek Chauhan2017-11-121-12/+12
| | | | | | f.ex when you don't have the llvm-static package installed, the error message when generating libs is cryptic and uninformative since we discard stderr.
* Merge pull request #2071 from porrided/masterJussi Pakkanen2017-11-116-0/+213
|\ | | | | Add zsh completion function for Meson
| * _meson: Explicitly specify license to match the Z ShellArseny Maslennikov2017-11-111-0/+24
| | | | | | | | | | The zsh completion script is explicitly licensed to eliminate any legal obstacles for its co-distribution with Z Shell itself.
| * Move shell completions and text editor helpers to data/Arseny Maslennikov2017-11-116-0/+0
| |
| * Add zsh completion function for MesonArseny Maslennikov2017-11-111-0/+189
| | | | | | | | | | | | 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.
* | Cleanupping.Jussi Pakkanen2017-11-111-22/+69
|/
* gnome: Add include_directories parameter to gtkdoc()Xavier Claessens2017-11-101-1/+1
|
* Interpreter: ensure build_def_files defined before parse_project()Dylan Baker2017-11-101-1/+2
| | | | | | | | | | | | | | | 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
* Better check for when address sanitizer is enabled. Closes #2590.Jussi Pakkanen2017-11-091-1/+1
|
* Print correct command in help messageEric Engestrom2017-11-095-5/+5
| | | | | | | | | | 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 ...]]
* introspect: print `build_by_default` fieldEric Engestrom2017-11-091-0/+1
|
* llvm: fix static linkingDylan Baker2017-11-091-2/+7
| | | | | | | 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.
* llvm: llvm 5.0 is released and the current stableDylan Baker2017-11-091-5/+6
| | | | | So set it as the first versioned config to check for, and add llvm-config-6.0 to the list of configs.
* fix include_directories handling in subprojects for compiler tests.Philipp Ittershagen2017-11-085-1/+30
|
* Merge pull request #2444 from dcbaker/llvmJussi Pakkanen2017-11-083-28/+108
|\ | | | | LLVM: Fix dynamic vs statically linking.
| * docs: Add a snippet for LLVM static linking supportDylan Baker2017-10-251-0/+8
| |
| * llvm: fix static vs dynamic linkingDylan Baker2017-10-251-6/+52
| | | | | | | | | | | | | | | | | | | | LLVM >= 3.9 provides an llvm-config that has a sane mechanism for selecting static vs dynamic linking. LLVM < 3.9 (but >= 3.5) not so much. For those older LLVM versions, llvm-config will always provide arguments for statically linking LLVM, even if there is a library for dynamic linking. Fixes #2442
| * llvm: Add support for linking staticallyDylan Baker2017-10-252-14/+23
| | | | | | | | This adds support for the static kwarg to the llvm dependency.
| * llvm: Add modules to libs checkDylan Baker2017-10-251-1/+3
| | | | | | | | Which is required for statically linking with LLVM.
| * llvm: check for components (modules) before libs.Dylan Baker2017-10-251-13/+12
| | | | | | | | | | For statically linking we need to pass the modules to llvm-config, so we need to validate them and have them ready to use before then.
| * llvm: Add optional modulesDylan Baker2017-10-252-7/+19
| | | | | | | | These will become more relevant later in the series.
| * llvm: Add helper function for checking modulesDylan Baker2017-10-251-0/+4
| | | | | | | | This will be used in a later patch.
| * llvm test: Replace tinfo with something elseDylan Baker2017-10-251-1/+1
| | | | | | | | | | | | | | Archlinux doesn't package tinfo, and the non-distro maintained package (in the AUR), doesn't provide a pkgconfig, it just symlinks libncurses. So just pick something else. glib-2.0 is used elsewhere in meson's test suite, so that should be safe.
* | Add description on how to use external and internal dependencies ↵Jussi Pakkanen2017-11-081-17/+46
| | | | | | | | interchangeably.
* | Merge pull request #2564 from jeandet/fix_boost_detection_with_wrong_localeJussi Pakkanen2017-11-071-2/+8
|\ \ | | | | | | Fix detection of include dirs with gnu compiler and non US locale
| * | Warn when no inc dir is found from parsing GNU compiler outputAlexis Jeandet2017-11-021-1/+4
| | | | | | | | | | | | Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
| * | Fix detection of include dirs with gnu compiler and non C localeAlexis Jeandet2017-11-011-1/+4
| | | | | | | | | | | | | | | | | | | | | 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>
* | | gtkdoc: Pass the linker down to gtkdoc-scangobjXavier Claessens2017-11-071-1/+2
| | | | | | | | | | | | Closes #2540
* | | docs: fix use of depsJoergen Ibsen2017-11-071-1/+1
| | |
* | | vim: remove double indentEric Engestrom2017-11-061-2/+2
| | | | | | | | | | | | There is no reason to indent twice inside blocks.
* | | Dump coredata earlier.Elliott Sales de Andrade2017-11-062-18/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Small changes for syntax hightlightDavid Pérez-Suárez2017-11-062-3/+3
| | |
* | | coredata: Remove parse_string() methodXavier Claessens2017-11-062-14/+1
|/ / | | | | | | | | | | | | set_value() already does a better job at parsing strings, such as accepting "True" for a boolean. This fixes issue #2544
* | Merge pull request #2562 from 1ace/fix/mesontestJussi Pakkanen2017-10-314-9/+11
|\ \ | | | | | | Remove references to `mesontest`
| * | mtest: print correct name in error messageEric Engestrom2017-10-311-1/+1
| | |
| * | man: remove references to `mesontest` in meson(1)Eric Engestrom2017-10-311-2/+4
| | | | | | | | | | | | `mesontest` is deprecated, and shouldn't be suggested to users anymore.
| * | docs: remove references to `mesontest`Eric Engestrom2017-10-312-6/+6
| | | | | | | | | | | | `mesontest` is deprecated, and shouldn't be suggested to users anymore.
* | | interpreter: Add warning functionPaulo Antonio Alvarez2017-10-313-2/+26
|/ /
* | Added libwmf to the CI image.Jussi Pakkanen2017-10-311-0/+1
| |
* | Merge pull request #2551 from mesonbuild/fix2481Jussi Pakkanen2017-10-319-6/+100
|\ \ | | | | | | Evaluate subproject directory name correctly
| * | Renamed test dir to avoid duplicate numbers.fix2481Jussi Pakkanen2017-10-298-0/+0
| | |
| * | Evaluate subproject path correctly. Closes #2481.Jussi Pakkanen2017-10-291-6/+15
| | |
| * | add failing test case for overly-strict sandbox violationAdam C. Foltzer2017-10-298-0/+85
| | |
* | | Add LibWmf as a specified dependency, and associated tests.Félix Piédallu2017-10-316-1/+69
| | |
* | | namespace run_targets by subprojectMartin Kelly2017-10-319-59/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #2529 from leiflm/qt5-add-moc-extra-arguments-keywordJussi Pakkanen2017-10-296-11/+40
|\ \ \ | | | | | | | | Qt5-Module: Add `moc_extra_arguments` keyword support.
| * | | Fixes the `kwargs` handling.Leif Middelschulte2017-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested by @jeandet. Details: https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72703268
| * | | documentation: adds new keyword usage to the given example.Leif Middelschulte2017-10-271-1/+3
| | | |
| * | | adds "since"-note for the new keyword to the documentationLeif Middelschulte2017-10-271-1/+1
| | | |
| * | | updates the documentation to follow the list-style to explain arguments.Leif Middelschulte2017-10-271-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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