Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Closes https://github.com/mesonbuild/meson/issues/1976
|
|
Also update the documentation.
Fixes https://github.com/mesonbuild/meson/issues/6470
|
|
Various cleanups and documentation improvements for run_project_tests.py
|
|
This leads to better version parsing. An concrete example use case is
llc. When invoking llc with "--version", the output is
```
LLVM (http://llvm.org/):
LLVM version 9.0.1
...
```
The old version parsing recognizes the dot in the first line as version.
This commit also tries to adapt the two regexes to each other.
Reported-by: Björn Fiedler <fiedler@sra.uni-hannover.de>
|
|
|
|
|
|
Use it instead of making a direct call to mlog._windows_ansi().
|
|
Otherwise there's a high likelihood that some program run by us will
mess up the console settings and break ANSI colors. F.ex., running
`uname` in the Visual Studio 2019 x86 developer prompt using
`run_command()` does this.
|
|
|
|
|
|
We missed this in https://github.com/mesonbuild/meson/pull/6457
|
|
Looking at 45c8557d, the idea behind this seems to be that a test could
conditionally indicate that the list of installed files should not be
validated by creating that file.
It's no longer used anywhere.
Also remove a lingering no-install-files file which isn't used since commit
c693bd9b.
|
|
|
|
Just add or alter attributes of the TestResult object, rather than many,
many invocations of the constructor with very similar arguments.
Define helper methods for TestResult to add the results of a step and
set the failure reason.
|
|
|
|
|
|
|
|
|
|
This broke in 668610c0d2b0f3a66d96022eb57afe5b09c3a2b7.
|
|
|
|
|
|
If we always copy files over without timestamps, we're forcing
a (probably unnecessary) rebuild. Also include a test for this.
|
|
When `--only-changed` is passed, we only want to know about files that
were newly-installed. Everything else is noise. The full list can
always be found in `install-log.txt` anyway. Sample output:
```
ninja: Entering directory `.'
ninja: no work to do.
Preserved 667 unchanged files, see meson-logs\install-log.txt for the full list
```
|
|
The Cython generation depends on cstorer.pxd as well, so add that as
dependency.
|
|
Debian's lintian checker complaints when upstream tarballs contain an
.hgtags file.
This excludes ".hg[a-z]*". This is mostly consistent with the git
handling in del_gitfiles() which deletes .git*. hg archive --help shows
an example of -X ".hg*". However, instead of ".hg*", I have used
".hg[a-z]*" to keep the automatically added hg_archival.txt. This file
may be useful to link the tarball to the Mercurial revision for either
manual inspection or in case any code interprets it for a --version or
similar.
This also excludes .hgignore and other things like .hgflow, which seems
desirable.
Fixes #6575
|
|
|
|
Add a "system" dependency for zlib
|
|
This move the sorting logic into the TestDef class itself, which
simplifies sorting them.
Additionally it remove overcomplicated sort logic, because python
strings are compared character by character, we don't need to do the
split and cast to int, we know that realistically a maximum of 4
characters (the first 4 numbers) are going to be compared in most cases.
|
|
Currently it's just like if all builtin/base/compiler options are
yielding. This patch makes possible to have non-yielding builtin
options. The value in is overriden in this order:
- Value from parent project
- Value from subproject's default_options if set
- Value from subproject() default_options if set
- Value from command line if set
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this should help users specify leading `~` in various Meson options and variables
without refactoring lots of places inside Meson itself.
|
|
fs: make exception specify method name
fs: actually raise exceptions
fs: resolve path e.g. /opt/foo/.. => /opt/foo
fs: correct behavior of is_symlink
|
|
The documentation of "order-only" dependencies is limited and their
various purposes are especially not clear. See issue #6391 for a recent
example, search the internet for many more. So mention the particular
purpose here while making the documentation barely longer.
|
|
add meson.get_external_property()
|
|
Sometimes qt can be installed not as framework on MacOS. One way to
achieve this behaviour is to use conan package manager.
Allow falling back to simple library search if framework was
not found. In addition, allow to find the debug version of qt debug
libraries which have "_debug" suffix added to them.
Fixes #5091
|
|
Wx widgets static
|
|
|
|
|
|
|
|
|
|
|
|
This allows Meson native-file [properties] to be used.
This avoids the need to call meson from a script file or have a
long command line invocation of `meson setup`
The method meson.get_native_property('prop', 'fallback') is added.
The native file can contain properties like
```
[properties]
myprop1 = 'foo'
mydir2 = 'lib/custom'
```
Then from within `meson.build`
```meson
x1 = meson.get_native_property('myprop1')
thedir = meson.get_native_property('mydir2', 'libs')
```
fallback values are optional
|
|
Add new Meson sample templates
|
|
cmake: Fix spaces in compile flags (fixes #6566)
|