diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-16 15:27:44 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-12-19 09:25:20 -0800 |
| commit | 15c2c9811411e5e84419bcee487fb3a84ac2756c (patch) | |
| tree | 1237a185415fec8135fad99b0d7b73fb82d0d6e4 /mesonbuild/mintro.py | |
| parent | 8b9846d9a9d29b427860891c9b699eb4305e348b (diff) | |
| download | meson-15c2c9811411e5e84419bcee487fb3a84ac2756c.tar.gz | |
introspect: add machine to target_sources
Even though the "targets" introspection info already includes the
command line arguments used to invoke the compiler, this is not
enough to correlated with the "compilers" introspection info and
get extra information from there.
Together with the existing "language" key, adding a "machine" key
is enough to identify completely an entry in the compilers info.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/mintro.py')
| -rw-r--r-- | mesonbuild/mintro.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 810a2b674..b9b09c557 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -211,6 +211,7 @@ def list_targets_from_source(intr: IntrospectionInterpreter) -> T.List[T.Dict[st 'build_by_default': i['build_by_default'], 'target_sources': [{ 'language': 'unknown', + 'machine': i['machine'], 'compiler': [], 'parameters': [], 'sources': [str(x) for x in sources], |
