| Age | Commit message (Collapse) | Author |
|
|
|
In some cases it may be necessary to set PKG_CONFIG_SYSROOT_DIR, like
when you've mounted a host architecture system in an arbitrary path.
Meson will now check the cross files for a [properties]:sys_root
variable and set the PKG_CONFIG_SYSROOT_DIR environment variable based
on that variable.
Fixes #3801
Fixes #4057
|
|
* c_function_attributes: remove 'protected' from 'visibility'
This doesn't exist on macos with the apple compiler, which always causes
failures.
Fixes #5530
* compilers: Add split visibility checks to has_function_attribute
These check for a single visibility at a time, rather than all four at
once. This allows for finer grained searches, and should make using
these checks safer across operating systems.
|
|
name use
|
|
Fixes #5514
|
|
per IRC discussion, the wheel package isn't required but reduces
harmless warnings.
[skip ci]
|
|
[skip ci]
|
|
|
|
|
|
This mirrors the modules keyword argument that some dependencies (such
as qt and llvm) take. This allows an easier method to determine if
modules are installed.
|
|
Not a series problem, but annoys me that that it's in the builtin
section when it's a returned object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See the docs/ changes for details.
|
|
Error introduced in commit 8e403e08ac2907214c044c804ee5eef6a45e0ff9
|
|
|
|
|
|
You should pass arguments as a list, ie -Dpkg_config_path=/foo,/bar
and meson will join the paths appropriately for you.
|
|
ccache’s web site is now located at https://ccache.dev.
Bonus: Use the preferred capitalization “Ccache” instead of “CCache”.
|
|
Mesa's primary home is now in the Freedesktop GitLab instance. The cgit repo is just a mirror.
|
|
|
|
new module "sourceset" to match source file lists against configuration data
|
|
|
|
In QEMU a single set of source files is built against many different
configurations in order to generate many executable. Each executable
includes a different but overlapping subset of the source files; some
of the files are compiled separately for each output, others are
compiled just once.
Using Makefiles, this is achieved with a complicated mechanism involving
a combination of non-recursive and recursive make; Meson can do better,
but because there are hundreds of such conditional rules, it's important
to keep meson.build files brief and easy to follow. Therefore, this
commit adds a new module to satisfy this use case while preserving
Meson's declarative nature.
Configurations are mapped to a configuration_data object, and a new
"source set" object is used to store all the rules, and then retrieve
the desired set of sources together with their dependencies.
The test case shows how extract_objects can be used to satisfy both
cases, i.e. when the object files are shared across targets and when
they have to be separate. In the real-world case, a project would use
two source set objects for the two cases and then do
"executable(..., sources: ... , objects: ...)". The next commit
adds such an example.
|
|
Dependency.get_variable method
|
|
|
|
|
|
|
|
|
|
ICL (Intel for Windows) support
|
|
This is very frequently asked.
|
|
|
|
Because the Intel compiler behaves significantly differently on windows
than it does on Linux and MacOS I've decided it would be better to
follow the clang/clang-cl split and make id "intel-cl" on windows
(leaving "intel" alone on Linux and Mac). Since we've never supported
ICL and it hasn't worked in the past I think this is an okay change to
make.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Can link against custom_target[i]
|
|
|
|
|
|
* docs: document unrecognized escape sequence behaviour [skip ci]
Document that unrecognized escape sequence behaviour is like python, not
C.
* Don't try to decode invalid hex escape sequences
Don't try to decode escape sequences which should contain a sequence of
hex digits, but don't, throwing a python exception. These will treated
literally instead.
* Extend test case to cover invalid escape sequences
|
|
|
|
|