| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add zsh completion function for Meson
|
| |
| |
| |
| |
| | |
The zsh completion script is explicitly licensed to eliminate
any legal obstacles for its co-distribution with Z Shell itself.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 ...]]
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
So set it as the first versioned config to check for, and add
llvm-config-6.0 to the list of configs.
|
| |
|
|\
| |
| | |
LLVM: Fix dynamic vs statically linking.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
This adds support for the static kwarg to the llvm dependency.
|
| |
| |
| |
| | |
Which is required for statically linking with LLVM.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
These will become more relevant later in the series.
|
| |
| |
| |
| | |
This will be used in a later patch.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
interchangeably.
|
|\ \
| | |
| | | |
Fix detection of include dirs with gnu compiler and non US locale
|
| | |
| | |
| | |
| | | |
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
Closes #2540
|
| | | |
|
| | |
| | |
| | |
| | | |
There is no reason to indent twice inside blocks.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
set_value() already does a better job at parsing strings, such as
accepting "True" for a boolean.
This fixes issue #2544
|
|\ \
| | |
| | | |
Remove references to `mesontest`
|
| | | |
|
| | |
| | |
| | |
| | | |
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
|
| | |
| | |
| | |
| | | |
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Evaluate subproject directory name correctly
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
Qt5-Module: Add `moc_extra_arguments` keyword support.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As suggested by @jeandet.
Details:
https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72703268
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|