Commits on Source 23
-
-
-
Fixes: #9316
-
Otherwise changes to a dependency don't propogate
-
-
-
CMakes `target_link_libraries()` supports certain keywords to only enable specific libraries for specific CMake configurations. We now try our best to replicate this for Meson dependencies. Fixes #9197
-
If the compiler specified is a path to a compiler, the current detection is broken. It needs to use just the compiler name instead.
-
Theere is no 'output' key in the kwargs, so if this was it it would result in an exception. Mypy spotted this in a branch I'm working on full typing for gnome, but since that seems unlikely to be done before the 0.60 branchpoint I'd like to get this in sooner
-
It's impossible to get a Holder here, we'd get the unholdered build types. Mypy points this out for us.
-
install_dir needs to be set to something, because CustomTarget expects that. genmarshal still relies on CustomTarget setting it internally itself. Fixes #9350
-
Sometimes, the machine file can include compiler command line options, in order to pick the correct multilib. For example, Meson uses "$cc --print-search-dirs" to find the library search path, where $cc is the cc from the machine file. Because the outputs of "gcc -m32 --print-search-dirs" and "gcc --print-search-dirs" are different, this only works if you have [binaries] cc = ['gcc', '-m32'] in the machine file. Right now, however, the cmake module assumes that the compiler listed in the machine file is either a compiler, or a "launcher" followed by the compiler. Check if the second argument starts with a slash (for Microsoft-like compilers) or a dash (for everyone else), and if so presume that the CMAKE_*_COMPILER_LAUNCHER need not be defined.
-
There was even a test covering this, but it did not fail due to a typo.
-
-
-
If meson is not a process group leader, a SIGINT will be delivered also to its parent process (and possibly other processes). The parent process then will probably exit and mtest will continue running in the background, without any way to interrupt the run completely. To fix this, treat SIGINT and SIGTERM the same way unless mtest is a process group leader. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Cherry-picked from https://github.com/mesonbuild/meson/pull/9167
-
Cherry-picked from https://github.com/mesonbuild/meson/pull/9256
-
Otherwise we don't get critical arguments like -fuse=lld. Cherry-picked from https://github.com/mesonbuild/meson/pull/8773
-
https://github.com/Homebrew/homebrew-core/commit/e7c972b6062af753e564104e58d1fa20c0d1ad7a added PACKAGE_VENDOR to lld, causing the -v output to start with "Homebrew LLD" rather than just "LLD". Meson no longer detects it and fails the test_ld_environment_variable_lld unit test. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Fixes #9309
-
-
Nirbheek Chauhan authored