| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Not yielding anything from a context manager because an exception was
raised causes the interpreter to output an undebuggable
'RuntimeError: generator didn't yield' exception.
Wrapping the entire compiler check in a `try: except: pass` is anyway
incorrect because we only want to ignore exceptions in cleaning up the
temporary directory, so reorganise the code and correctly ignore
exceptions only for that.
|
|
|
|
|
|
| |
Add mention of azure
Also fix anchor in travis URL
Also make 'see below' into a link
|
|
|
|
| |
Remove vs2015 jobs, migrated to azure
|
| |
|
|
|
|
| |
Recent test changes depend on cmake being available.
|
|
|
|
|
| |
azure doesn't support [skip ci], so do nothing, rather than failing when
we detect a PR which should have [skip ci], but didn't get skipped.
|
|\
| |
| | |
mintro: Allow introspect --projectinfo without build directory
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This variant was added to allow introspection before configuring a build
directory. This is useful for IDE integration to allow displaying and/or
setting options for the initial configuration of the build directory.
It also allows showing basic information about the project even if it's
not yet configured or configuring failed.
The project 'name' field in --projectinfo is used inconsistently:
For the top level project it always shows the name configured in
the top level meson.build file. For subprojects it's referring to the
name of the directory the subproject's meson.build is contained in.
To have a consistent output and preserve the existing behavior this adds
the 'descriptive_name' field which always shows the name set in the
project.
To be consistent the 'descriptive_name' field was also added to the
--projectfiles variant that uses an already configured build.
It also extends the information shown with the list of buildsystem-files.
This is currently only implemented in the variant for unconfigured
projects.
|
| |
| |
| |
| |
| | |
This commit disables more functions inherited from InterpreterBase that
we don't need for AST evaluation.
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
Added 'section' key to buildoptions introspection
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed-size hash makes paths shorter and prevents doubling of path length
because of subdir usage in target id: "subdir/id" would generate
"subdir/{subdir-without-slashes}@@id" target otherwise.
Export construct_id_from_path() to aid tests.
Add a separate unit test for this function to make sure it is not broken unexpectedly.
Closes #4226.
|
|
|
|
| |
Fixes: #4527
|
| |
|
|
|
|
|
|
| |
Currently this is only partially documented in the quick-start guide,
include this in the main docs and document all the environment
argumens used.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this adds support for generating pkgconfig files for c#.
The difference to c and cpp is that the -I flag is not known to the c#
compiler, but rather the -r flag which is used to link a .dll file into
the compiled library.
However this opens the question of validating which pkgconfig files can
be generated (depending on the language).
This implements 4409.
|
| |
|
|
|
|
|
|
|
| |
do_copyfile() already takes the decision to delete or preserve them.
Also do not append a confusing '.' in log messages that finish by a file
path.
|
|
|
|
|
|
| |
Although the `namespace` parameter was implemented in 0.37, its
documentation is still missing.
It has been added to the `gtkdoc`'s documentation.
|
|
|
|
|
|
| |
While this isn't solved everywhere, this seems reasonable to disable it.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
|
|
|
|
|
|
| |
$ flake8
./mesonbuild/mtest.py:524:9: E122 continuation line missing indentation or outdented
per PEP8, this line requires more indentation to distinguish it from the
following line
|
|
|
|
|
|
|
| |
$ flake8 | grep F401
./run_unittests.py:43:1: F401 'mesonbuild.mesonlib.is_linux' imported but unused
./mesonbuild/compilers/c.py:32:1: F401 '.compilers.CompilerType' imported but unused
./mesonbuild/compilers/cpp.py:23:1: F401 '.compilers.CompilerType' imported but unused
|
|
|
|
|
| |
Instantiating an exception, but not raising it, has no effect
This alert was introduced in 92487ea 10 months ago
|
|
|
|
|
|
|
| |
Too few arguments for string format. Format "{0} sources specified and
couldn't find {1}, please check your qt{2} installation" requires at least
3, but 2 are provided.
This alert was introduced in f7f439c a year ago
|
|
|
|
|
|
|
|
| |
Although `gtkdoc` function has support for `c_args` argument[0], it
produces warning messages due to missing string in the permitted
arguments list.
[0] https://github.com/mesonbuild/meson/pull/4192
|
|\
| |
| | |
ICC fixes for Linux and MacOS
|
| |
| |
| |
| |
| | |
These are useful for debugging, but not interesting for end users, where
it just adds lines between ninja jobs without adding value.
|
| |
| |
| |
| |
| | |
To make ifort like rand we need to link with ifport, or we don't get
rand.
|
| |
| |
| |
| |
| | |
ifort doesn't like the latter, and gfortran seems happy with the former.
I don't have any of the other supported fortran compilers to test with.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This allows each implementation (gnu-like) and msvc to be implemented in
their respective classes rather than through an if tree in the CCompiler
class. This is cleaner abstraction and allows us to clean up the Fortran
compiler, which was calling CCompiler bound methods without an instance.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
ICC doesn't use the same -fprofile-generate/-fprofile-use that GCC and
Clang use, instead it has -prof-gen and -prof-use. I've gone ahead and
added the threadsafe option to -prof-gen, as meson currently doesn't
have a way to specify that level of granularity and GCC and Clang's
profiles are threadsafe.
|
| | |
|
| |
| |
| |
| |
| | |
has_arguments is the wrong thing to fix, since all checks that require
compiler options are based on compiles, it's the right thing to modify.
|