meson/test cases
Eli Schwartz 00f8ced048
add compilers from extracted objects directly to build targets
In order to reliably link to static libraries or individual object
files, we need to take their languages into account as well. For static
libraries this is easy: we just add the static library's list of
compilers to the build target. For extracted objects, we need to only
add the ones for the objects we use.

But we did this really inefficiently -- in fact, downright terribly. We
iterated over all source files from the extracted objects, then tried to
look up a new compiler for them. Even though the extracted objects
already had a list of compilers! This broke once compilers were made
per-subproject, because while the extracted objects have a reference to
all the compilers it needs (just like static archives do, actually) we
might not actually be able to look up that compiler from scratch inside
the current subproject.

Fix this by asking the extracted objects to categorize all its own
sources and return the compilers we want.

Fixes #10579
2022-08-11 07:12:55 -04:00
..
cmake cmake: Add rule relaxations for CMake subprojects 2022-08-10 22:24:02 -04:00
common add compilers from extracted objects directly to build targets 2022-08-11 07:12:55 -04:00
csharp test: merge installed_files.txt into test.json 2020-02-25 21:47:42 +01:00
cuda Fix crash when getting cuda options 2021-10-27 15:29:44 -04:00
cython Add support for cython_args 2022-03-23 15:44:01 -04:00
d Merge pull request #10464 from rtbo/fix_generated_deps 2022-06-19 22:16:20 +03:00
failing Fix test case numbers. 2022-07-07 10:04:51 -07:00
failing build cmake: ci: Skip tests on Ubuntu Bionic where CMake is stuck on 3.10 2022-02-03 11:25:59 -05:00
failing test [TAP] Fix TAP parser when test exits with status 2021-02-19 17:17:20 +02:00
fortran tests: unskip windows mixing msvc and fortran, for non-gcc fortran 2022-07-11 17:58:02 -04:00
fpga/1 simple editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
frameworks update gnome test to cover built gresource files 2022-06-19 10:47:47 -04:00
java Add ability to add resources to jars 2022-03-22 13:21:26 +02:00
keyval editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
linuxlike Fix generator expression list problems (fixes #10288) 2022-04-18 22:59:44 -04:00
nasm/1 configure file extract_all_sources: Also include generated object files 2018-11-02 21:40:04 +02:00
native holders: Fix the remaining code to respect the holder changes 2021-06-18 23:48:33 +02:00
objc editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
objcpp editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
osx tests: Test extern'd globals on MacOS with the Apple Archiver 2022-07-25 15:36:59 -07:00
python implement the new preserve_path kwarg for install_data too 2022-07-08 01:58:23 -04:00
python3 Fix purelib and platlib validation in Python3 module. 2022-04-20 16:13:58 -04:00
rewrite rewriter: create {add,rm}_extra_files commands 2021-12-15 21:21:29 +01:00
rust tests/rust: renumber structred sources test 2022-03-21 11:26:52 -07:00
swift Xcode: make Swift projects work. 2021-04-25 15:35:13 +03:00
unit Only reconfigure if configure options actually changed 2022-07-31 20:43:27 +03:00
vala test cases/vala: Fix test 14 2022-02-27 14:33:33 -05:00
warning Reword message in warning 2022-05-19 07:18:43 -04:00
wasm editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
wayland/1 client wayland module: Allow building both client and server sides 2022-03-06 06:31:43 -05:00
windows Fix test case numbers. 2022-07-07 10:04:51 -07:00