Michael Hirsch
173d1624cb
c lang not needed for this test
4 years ago
Michael Hirsch
ab72f52743
setuptools is not stdlib, but distutils is
4 years ago
Michael Hirsch
d769b425f0
refactor: name .mypy.ini to reduce visual clutter
...
MyPy looks to .mypy.ini, reducing Meson top-level visual clutter
https://mypy.readthedocs.io/en/stable/config_file.html
4 years ago
Jussi Pakkanen
fa929b4714
Check that hg is actually working.
4 years ago
Jussi Pakkanen
4c9d57200a
Decrease version requirement to work on Xenial.
4 years ago
Xavier Claessens
f1edb83bb6
doc: Small tweaks to fallback documentation [skip ci]
4 years ago
Alan Coopersmith
20d405ec18
SolarisDynamicLinker: report ld's version instead of gcc's
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4 years ago
Alan Coopersmith
5b82bb8689
SolarisDynamicLinker: Check if linker supports -z type=pie
...
As suggested by dcbaker in
https://github.com/mesonbuild/meson/pull/7370#discussion_r445145889
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4 years ago
Alan Coopersmith
e801e0435e
symbolextractor: use try/finally in solaris_syms when wrapping gnu_syms
...
As suggested by dcbaker in
https://github.com/mesonbuild/meson/pull/7370#pullrequestreview-436872661
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4 years ago
Jussi Pakkanen
7ab0090d2a
Update version number for rc 2.
4 years ago
Xavier Claessens
1993fb602e
doc: Improve documentation of [provide] section in wrap files
...
Explicitly document the behaviour of dependency('foo-1.0', required:
false).
4 years ago
Nirbheek Chauhan
40319c9634
Don't make unactionable warnings fatal
...
Some warnings are out of the user's control, such as the RCC QT bug,
or the GNU windres bug, or our informational warning about
auto-disabling of options when -Db_bitcode is enabled.
Such warnings should not be fatal when --fatal-meson-warnings is
passed because there's no action that the user can take to fix it. The
only purpose it serves is to prevent people who use those features
from using --fatal-meson-warnings.
4 years ago
Thibault Saunier
99e96133c8
doc: Minor typo fix in legal.md [skip ci]
4 years ago
Xavier Claessens
e1094df77e
wrap: Add back filename member in PackageDefinition
...
It is still used by msubprojects.py and cause issues when updating
wrapdb.
4 years ago
Xavier Claessens
b510d644fe
find_program: Do not use fallback when before parsing project()
...
Mesa is doing `project(... find_program() ...)` so
environment.wrap_resolver is not defined yet.
4 years ago
Xavier Claessens
f66c8c35da
qt: Fix has_tools() when required=False
...
Improve logs by making it clear when the program is found but has
wrong version.
4 years ago
Alexander Neumann
92075f5ef3
give user control of option skip_sanity_check
4 years ago
Jussi Pakkanen
f8bec97084
Bump version number for RC1.
4 years ago
Marvin Scholz
85686e21d7
environment: Correctly detect arm64 as aarch64
...
On some systems aarch64 is reported as arm64. Due to mesons
mangling of everything that starts with arm, it would end up being
detected as arm (which implies 32 bit) which is incorrect.
4 years ago
Jussi Pakkanen
a296ee44a1
Skip doc test when docs are not available.
4 years ago
Jussi Pakkanen
026e386ec2
Merge pull request #6902 from xclaesse/auto-fallback
...
Implicit dependency fallback when a subproject wrap or dir exists
4 years ago
Jussi Pakkanen
14cc2efcfe
Store website build script. [skip ci]
4 years ago
Xavier Claessens
576493982d
wrap: Add failing unit test for fallback consistency
...
Dependency 'foo' is overriden with 'foo_dep' so using fallback variable
name 'bar_dep' should abort.
4 years ago
Xavier Claessens
7c90639078
interpreter: Don't abort if dep isn't required and sub didn't override
4 years ago
Xavier Claessens
f7a07ee91a
interpreter: Already configured fallback should be used for optional dep
4 years ago
Xavier Claessens
95c3fee47d
wrap: Update doc to give dependency_names example first
4 years ago
Xavier Claessens
41aefd2145
wrap: Abort if multiple wraps provide the same dep or program
4 years ago
Xavier Claessens
13316f99fe
wrap: Refactor to split wraps dictionary into 3 separate dicts
...
It makes the code cleaner to have 3 separate dictionaries for
packagename, dependency and programs.
4 years ago
Xavier Claessens
fba796cf13
Fix typo: coma->comma
4 years ago
Xavier Claessens
f08eed37cb
find_program: Fallback if a wrap file provide the program name
...
We don't need the legacy variable name system as for dependency()
fallbacks because meson.override_find_program() is largely used already,
so we can just rely on it.
4 years ago
Xavier Claessens
288d1ae5a5
wrap: Do not fallback implicitly on optional dependency
...
This fix the following common pattern, we don't want to implicitly
fallback on the first line:
foo_dep = dependency('foo', required: false)
if not foo_dep.found()
foo_dep = cc.find_library('foo', required : false)
if not foo_dep.found()
foo_dep = dependency('foo', fallback: 'foo')
endif
endif
4 years ago
Xavier Claessens
71804e56eb
wrap: Add special 'dependency_names' key in [provide] section
...
The value for that key must be a coma separated list of dependecy names
provided by that subproject, when no variable name is needed because the
subproject uses override_dependency().
4 years ago
Xavier Claessens
2a7f72885f
wrap: Add 'provide' section
4 years ago
Xavier Claessens
56c9e95b04
Implicit dependency fallback when a subproject wrap or dir exists
4 years ago
Jussi Pakkanen
64f36613ef
Merge pull request #7231 from mensinda/cmOverride
...
cmake: Add more advanced subproject configuration options
4 years ago
TheQwertiest
b6981bd16e
Made Commands.md dynamically generated ( #7346 )
4 years ago
TheQwertiest
83a973ca04
Replaced `ninja` with `meson` [skip ci]
4 years ago
TheQwertiest
9e0db0a05e
Cleaned up Reference docs [skip ci]
4 years ago
georgev93
5acd8acd51
Move mesonbuild/cmake/data/run_ctgt.py to mesonbuild/scripts/cmake_run_ctgt.py, as well as enclose everything in a run() function so it can be called by `meson --internal cmake_run_ctgt ...`. Also, include mesonbuild/cmake/data/ in the msi package.
4 years ago
Xavier Claessens
4a371c97f4
wrap: Apply patch even in VCS cases
4 years ago
Mike Gorse
eb3b35ae02
test: fix enum generation for GNOME
...
Fixes : #7252
4 years ago
Xavier Claessens
1c8731a100
envconfig: Add [constants] section in machine files
...
Machine files already supports `+` operator as an implementation detail,
since it's using eval(). Now make it an officially supported feature and
add a way to define constants that are used while evaluating an entry
value.
4 years ago
TheQwertiest
5696a5abba
Added ability to specify target in `meson compile`
4 years ago
TheQwertiest
4d0233540f
Added ability to pass arguments to backend in `meson compile`
4 years ago
Michael Hirsch, Ph.D
b9b15816e8
syntax.md: document version_compare ambiguities [skip ci]
4 years ago
Michael Hirsch, Ph.D
1e140c002b
syntax.md: correct markdown heading syntax [skip ci]
4 years ago
Eli Schwartz
33167d40a2
wrap: add user agent when downloading files
...
This lets servers know when they're being used by meson. It also avoids
issues where the Independent JPEG Group decided to ban the
"Python-urllib" default user agent.
Fixes https://github.com/mesonbuild/libjpeg/issues/9
5 years ago
Nirbheek Chauhan
6aabc205f7
ci: Workaround MSYS2 update breakage
...
Also kill all MSYS2 processes after the first update, and constantly
print update status.
5 years ago
Nirbheek Chauhan
e9dbe82d3e
ci: Bump the cygwin timeout to 120 minutes
...
The default timeout is 60 min and we're timing out, but the maximum we
can have is 6 hours. Bump it to 120 min for now.
5 years ago
Xavier Claessens
d0f468fef1
pkgconfig: Add missing cflags in uninstalled files
...
Fixes : #7365
5 years ago