diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-10-11 13:47:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-15 14:16:11 +0100 |
commit | a0a49bba6dc84c7e6b0e57199aeb087379318acd (patch) | |
tree | fa1de83bf6fb3856862a894552f37e142d91916a /meta/recipes-devtools/meson | |
parent | 8ee41962c72c9144e8e4812129787554273059ce (diff) | |
download | poky-a0a49bba6dc84c7e6b0e57199aeb087379318acd.tar.gz |
meson: update to 0.52.0
Drop backported patches.
(From OE-Core rev: 8c71e48291827d9905fcfe44eae1d9294866da1c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/meson')
-rw-r--r-- | meta/recipes-devtools/meson/meson.inc | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-Cross-build-is-defined-by-the-existance-of-a-cross-f.patch | 28 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-environment.py-detect-windows-also-if-the-system-str.patch | 29 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0003-native_bindir.patch | 20 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/vala-cross-compile.patch | 50 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson_0.52.0.bb (renamed from meta/recipes-devtools/meson/meson_0.51.2.bb) | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/nativesdk-meson_0.52.0.bb (renamed from meta/recipes-devtools/meson/nativesdk-meson_0.51.2.bb) | 0 |
10 files changed, 22 insertions, 133 deletions
diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc index 8219d87c74..ae0091c051 100644 --- a/meta/recipes-devtools/meson/meson.inc +++ b/meta/recipes-devtools/meson/meson.inc | |||
@@ -14,14 +14,11 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P | |||
14 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ | 14 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ |
15 | file://disable-rpath-handling.patch \ | 15 | file://disable-rpath-handling.patch \ |
16 | file://cross-prop-default.patch \ | 16 | file://cross-prop-default.patch \ |
17 | file://0001-environment.py-detect-windows-also-if-the-system-str.patch \ | ||
18 | file://0001-Cross-build-is-defined-by-the-existance-of-a-cross-f.patch \ | ||
19 | file://0001-mesonbuild-environment.py-check-environment-for-vari.patch \ | 17 | file://0001-mesonbuild-environment.py-check-environment-for-vari.patch \ |
20 | file://0001-modules-python.py-do-not-substitute-python-s-install.patch \ | 18 | file://0001-modules-python.py-do-not-substitute-python-s-install.patch \ |
21 | file://vala-cross-compile.patch \ | ||
22 | " | 19 | " |
23 | SRC_URI[sha256sum] = "23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76" | 20 | SRC_URI[sha256sum] = "d60f75f0dedcc4fd249dbc7519d6f3ce6df490033d276ef1cf27453ef4938d32" |
24 | SRC_URI[md5sum] = "d46c4a8e3cfd27f90e2c6fe4a69e574b" | 21 | SRC_URI[md5sum] = "7ea7772414dda8ae11072244bf7ba991" |
25 | 22 | ||
26 | SRC_URI_append_class-native = " \ | 23 | SRC_URI_append_class-native = " \ |
27 | file://0001-Make-CPU-family-warnings-fatal.patch \ | 24 | file://0001-Make-CPU-family-warnings-fatal.patch \ |
diff --git a/meta/recipes-devtools/meson/meson/0001-Cross-build-is-defined-by-the-existance-of-a-cross-f.patch b/meta/recipes-devtools/meson/meson/0001-Cross-build-is-defined-by-the-existance-of-a-cross-f.patch deleted file mode 100644 index a5dbb81b08..0000000000 --- a/meta/recipes-devtools/meson/meson/0001-Cross-build-is-defined-by-the-existance-of-a-cross-f.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From 0b4d1e8afd5428a495f8624ee061f63977b4c268 Mon Sep 17 00:00:00 2001 | ||
5 | From: Jussi Pakkanen <jpakkane@gmail.com> | ||
6 | Date: Sun, 6 Oct 2019 15:17:32 +0300 | ||
7 | Subject: [PATCH] Cross build is defined by the existance of a cross file. | ||
8 | |||
9 | --- | ||
10 | mesonbuild/environment.py | 2 +- | ||
11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py | ||
14 | index e5d041b4..03c65688 100644 | ||
15 | --- a/mesonbuild/environment.py | ||
16 | +++ b/mesonbuild/environment.py | ||
17 | @@ -611,7 +611,7 @@ class Environment: | ||
18 | self.first_invocation = True | ||
19 | |||
20 | def is_cross_build(self) -> bool: | ||
21 | - return not self.machines.matches_build_machine(MachineChoice.HOST) | ||
22 | + return self.coredata.is_cross_build() | ||
23 | |||
24 | def dump_coredata(self): | ||
25 | return coredata.save(self.coredata, self.get_build_dir()) | ||
26 | -- | ||
27 | 2.20.1 | ||
28 | |||
diff --git a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch index 444fc08168..fc55dcacf6 100644 --- a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch +++ b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f70fee13e4dbc757cd8153cd42d92fa9394fb542 Mon Sep 17 00:00:00 2001 | 1 | From c07d29b715209cd5d75b142a00a540d45b00c36d Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Tue, 3 Jul 2018 13:59:09 +0100 | 3 | Date: Tue, 3 Jul 2018 13:59:09 +0100 |
4 | Subject: [PATCH] Make CPU family warnings fatal | 4 | Subject: [PATCH] Make CPU family warnings fatal |
@@ -12,7 +12,7 @@ Signed-off-by: Ross Burton <ross.burton@intel.com> | |||
12 | 2 files changed, 2 insertions(+), 4 deletions(-) | 12 | 2 files changed, 2 insertions(+), 4 deletions(-) |
13 | 13 | ||
14 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py | 14 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py |
15 | index 03c6346..86b350b 100644 | 15 | index a59cd89..17de654 100644 |
16 | --- a/mesonbuild/envconfig.py | 16 | --- a/mesonbuild/envconfig.py |
17 | +++ b/mesonbuild/envconfig.py | 17 | +++ b/mesonbuild/envconfig.py |
18 | @@ -186,7 +186,7 @@ class MachineInfo: | 18 | @@ -186,7 +186,7 @@ class MachineInfo: |
@@ -25,10 +25,10 @@ index 03c6346..86b350b 100644 | |||
25 | endian = literal['endian'] | 25 | endian = literal['endian'] |
26 | if endian not in ('little', 'big'): | 26 | if endian not in ('little', 'big'): |
27 | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py | 27 | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py |
28 | index 0cfdf9c..40aa189 100644 | 28 | index 3704921..f1988f2 100644 |
29 | --- a/mesonbuild/environment.py | 29 | --- a/mesonbuild/environment.py |
30 | +++ b/mesonbuild/environment.py | 30 | +++ b/mesonbuild/environment.py |
31 | @@ -262,9 +262,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str: | 31 | @@ -251,9 +251,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str: |
32 | trial = 'parisc' | 32 | trial = 'parisc' |
33 | 33 | ||
34 | if trial not in known_cpu_families: | 34 | if trial not in known_cpu_families: |
diff --git a/meta/recipes-devtools/meson/meson/0001-environment.py-detect-windows-also-if-the-system-str.patch b/meta/recipes-devtools/meson/meson/0001-environment.py-detect-windows-also-if-the-system-str.patch deleted file mode 100644 index 2faeda2e71..0000000000 --- a/meta/recipes-devtools/meson/meson/0001-environment.py-detect-windows-also-if-the-system-str.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From b52e47c9d61dc4c930cfc7236fbeb70338c3b953 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 25 Mar 2019 17:17:06 +0100 | ||
4 | Subject: [PATCH] environment.py: detect windows also if the system string | ||
5 | contains 'mingw' | ||
6 | |||
7 | Upstream-Status: Backport [fe645a0a9e2da230d2c500af1f5b2db5da1e364d] | ||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | |||
10 | --- | ||
11 | mesonbuild/envconfig.py | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py | ||
15 | index 03c6346..a59cd89 100644 | ||
16 | --- a/mesonbuild/envconfig.py | ||
17 | +++ b/mesonbuild/envconfig.py | ||
18 | @@ -198,7 +198,7 @@ class MachineInfo: | ||
19 | """ | ||
20 | Machine is windows? | ||
21 | """ | ||
22 | - return self.system in {'windows', 'mingw'} | ||
23 | + return self.system == 'windows' or 'mingw' in self.system | ||
24 | |||
25 | def is_cygwin(self) -> bool: | ||
26 | """ | ||
27 | -- | ||
28 | 2.17.1 | ||
29 | |||
diff --git a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch index 7c3238bf91..471f1500da 100644 --- a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch +++ b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1afbf5ccff56e582229c8f673f50aedf2b24117e Mon Sep 17 00:00:00 2001 | 1 | From d3ef01a4208a801acad380a4aaceb6a21f8fa603 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 4 Aug 2017 16:16:41 +0300 | 3 | Date: Fri, 4 Aug 2017 16:16:41 +0300 |
4 | Subject: [PATCH] gtkdoc: fix issues that arise when cross-compiling | 4 | Subject: [PATCH] gtkdoc: fix issues that arise when cross-compiling |
@@ -20,11 +20,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
20 | 1 file changed, 4 insertions(+) | 20 | 1 file changed, 4 insertions(+) |
21 | 21 | ||
22 | diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py | 22 | diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py |
23 | index bf49770..7c5a363 100644 | 23 | index bcf77b9..6a4b472 100644 |
24 | --- a/mesonbuild/modules/gnome.py | 24 | --- a/mesonbuild/modules/gnome.py |
25 | +++ b/mesonbuild/modules/gnome.py | 25 | +++ b/mesonbuild/modules/gnome.py |
26 | @@ -972,6 +972,10 @@ This will become a hard error in the future.''') | 26 | @@ -974,6 +974,10 @@ This will become a hard error in the future.''') |
27 | '--mode=' + mode] | 27 | args.append('--{}={}'.format(program_name, path)) |
28 | if namespace: | 28 | if namespace: |
29 | args.append('--namespace=' + namespace) | 29 | args.append('--namespace=' + namespace) |
30 | + gtkdoc_exe_wrapper = state.environment.properties.host.get('gtkdoc_exe_wrapper', None) | 30 | + gtkdoc_exe_wrapper = state.environment.properties.host.get('gtkdoc_exe_wrapper', None) |
diff --git a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch index 8ad86a46e9..b8837d77b6 100644 --- a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch +++ b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3009a1c2f1b736b836a057d84dc11f379cba99cf Mon Sep 17 00:00:00 2001 | 1 | From 263fc0e26e1fd92e25fa3ef93f4a549dcebc5887 Mon Sep 17 00:00:00 2001 |
2 | From: Peter Kjellerstedt <pkj@axis.com> | 2 | From: Peter Kjellerstedt <pkj@axis.com> |
3 | Date: Thu, 26 Jul 2018 16:32:49 +0200 | 3 | Date: Thu, 26 Jul 2018 16:32:49 +0200 |
4 | Subject: [PATCH] Support building allarch recipes again | 4 | Subject: [PATCH] Support building allarch recipes again |
@@ -13,7 +13,7 @@ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | |||
13 | 1 file changed, 1 insertion(+) | 13 | 1 file changed, 1 insertion(+) |
14 | 14 | ||
15 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py | 15 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py |
16 | index 86b350b..aa426ca 100644 | 16 | index 17de654..2d2deef 100644 |
17 | --- a/mesonbuild/envconfig.py | 17 | --- a/mesonbuild/envconfig.py |
18 | +++ b/mesonbuild/envconfig.py | 18 | +++ b/mesonbuild/envconfig.py |
19 | @@ -36,6 +36,7 @@ _T = typing.TypeVar('_T') | 19 | @@ -36,6 +36,7 @@ _T = typing.TypeVar('_T') |
diff --git a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch index 57de598d2f..76cc4931d6 100644 --- a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch +++ b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ac38495de38a1ea42e2bc09a2f23c2e945fbc22d Mon Sep 17 00:00:00 2001 | 1 | From 4a1d676522d6b56cbe9a45c3b040afaa27d37f78 Mon Sep 17 00:00:00 2001 |
2 | From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2 | From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> |
3 | Date: Wed, 15 Nov 2017 15:05:01 +0100 | 3 | Date: Wed, 15 Nov 2017 15:05:01 +0100 |
4 | Subject: [PATCH] native_bindir | 4 | Subject: [PATCH] native_bindir |
@@ -22,10 +22,10 @@ Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | |||
22 | 2 files changed, 14 insertions(+), 11 deletions(-) | 22 | 2 files changed, 14 insertions(+), 11 deletions(-) |
23 | 23 | ||
24 | diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py | 24 | diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py |
25 | index 21da8e2..7d1ef85 100644 | 25 | index 3c55a56..eb52fd1 100644 |
26 | --- a/mesonbuild/dependencies/base.py | 26 | --- a/mesonbuild/dependencies/base.py |
27 | +++ b/mesonbuild/dependencies/base.py | 27 | +++ b/mesonbuild/dependencies/base.py |
28 | @@ -155,7 +155,7 @@ class Dependency: | 28 | @@ -185,7 +185,7 @@ class Dependency: |
29 | def get_exe_args(self, compiler): | 29 | def get_exe_args(self, compiler): |
30 | return [] | 30 | return [] |
31 | 31 | ||
@@ -34,7 +34,7 @@ index 21da8e2..7d1ef85 100644 | |||
34 | raise DependencyException('{!r} is not a pkgconfig dependency'.format(self.name)) | 34 | raise DependencyException('{!r} is not a pkgconfig dependency'.format(self.name)) |
35 | 35 | ||
36 | def get_configtool_variable(self, variable_name): | 36 | def get_configtool_variable(self, variable_name): |
37 | @@ -214,7 +214,7 @@ class InternalDependency(Dependency): | 37 | @@ -248,7 +248,7 @@ class InternalDependency(Dependency): |
38 | self.sources = sources | 38 | self.sources = sources |
39 | self.ext_deps = ext_deps | 39 | self.ext_deps = ext_deps |
40 | 40 | ||
@@ -43,7 +43,7 @@ index 21da8e2..7d1ef85 100644 | |||
43 | raise DependencyException('Method "get_pkgconfig_variable()" is ' | 43 | raise DependencyException('Method "get_pkgconfig_variable()" is ' |
44 | 'invalid for an internal dependency') | 44 | 'invalid for an internal dependency') |
45 | 45 | ||
46 | @@ -639,15 +639,18 @@ class PkgConfigDependency(ExternalDependency): | 46 | @@ -670,15 +670,18 @@ class PkgConfigDependency(ExternalDependency): |
47 | return s.format(self.__class__.__name__, self.name, self.is_found, | 47 | return s.format(self.__class__.__name__, self.name, self.is_found, |
48 | self.version_reqs) | 48 | self.version_reqs) |
49 | 49 | ||
@@ -65,7 +65,7 @@ index 21da8e2..7d1ef85 100644 | |||
65 | # Always copy the environment since we're going to modify it | 65 | # Always copy the environment since we're going to modify it |
66 | # with pkg-config variables | 66 | # with pkg-config variables |
67 | if env is None: | 67 | if env is None: |
68 | @@ -663,7 +666,7 @@ class PkgConfigDependency(ExternalDependency): | 68 | @@ -698,7 +701,7 @@ class PkgConfigDependency(ExternalDependency): |
69 | targs = tuple(args) | 69 | targs = tuple(args) |
70 | cache = PkgConfigDependency.pkgbin_cache | 70 | cache = PkgConfigDependency.pkgbin_cache |
71 | if (self.pkgbin, targs, fenv) not in cache: | 71 | if (self.pkgbin, targs, fenv) not in cache: |
@@ -74,16 +74,16 @@ index 21da8e2..7d1ef85 100644 | |||
74 | return cache[(self.pkgbin, targs, fenv)] | 74 | return cache[(self.pkgbin, targs, fenv)] |
75 | 75 | ||
76 | def _convert_mingw_paths(self, args): | 76 | def _convert_mingw_paths(self, args): |
77 | @@ -845,7 +848,7 @@ class PkgConfigDependency(ExternalDependency): | 77 | @@ -926,7 +929,7 @@ class PkgConfigDependency(ExternalDependency): |
78 | (self.name, out_raw)) | 78 | mlog.warning('Could not determine complete list of dependencies for %s' % self.name) |
79 | self.link_args, self.raw_link_args = self._search_libs(out, out_raw) | 79 | self.link_args, self.raw_link_args = self._search_libs(out, out_raw, out_all) |
80 | 80 | ||
81 | - def get_pkgconfig_variable(self, variable_name, kwargs): | 81 | - def get_pkgconfig_variable(self, variable_name, kwargs): |
82 | + def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False): | 82 | + def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False): |
83 | options = ['--variable=' + variable_name, self.name] | 83 | options = ['--variable=' + variable_name, self.name] |
84 | 84 | ||
85 | if 'define_variable' in kwargs: | 85 | if 'define_variable' in kwargs: |
86 | @@ -858,7 +861,7 @@ class PkgConfigDependency(ExternalDependency): | 86 | @@ -939,7 +942,7 @@ class PkgConfigDependency(ExternalDependency): |
87 | 87 | ||
88 | options = ['--define-variable=' + '='.join(definition)] + options | 88 | options = ['--define-variable=' + '='.join(definition)] + options |
89 | 89 | ||
diff --git a/meta/recipes-devtools/meson/meson/vala-cross-compile.patch b/meta/recipes-devtools/meson/meson/vala-cross-compile.patch deleted file mode 100644 index 816f810c05..0000000000 --- a/meta/recipes-devtools/meson/meson/vala-cross-compile.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 77c3e6a4aaed07e626f4bf4deb7eb66e0f03a33d Mon Sep 17 00:00:00 2001 | ||
2 | From: James Westman <flyingpimonster@flyingpimonster.net> | ||
3 | Date: Mon, 24 Jun 2019 12:04:12 -0500 | ||
4 | Subject: [PATCH] Fix two errors when cross-compiling with Vala | ||
5 | |||
6 | - AttributeError: 'ValaCompiler' object has no attribute 'get_program_dirs' | ||
7 | |||
8 | Fixed by adding a `get_program_dirs()` function to the base Compiler | ||
9 | class, to match `get_library_dirs()` | ||
10 | |||
11 | - KeyError: 'vala_COMPILER' | ||
12 | |||
13 | Fixed by creating the Vala compile rules for all machines, not just | ||
14 | the build machine. | ||
15 | |||
16 | Upstream-Status: Backport [https://github.com/mesonbuild/meson/commit/77c3e6a4aaed07e626f4bf4deb7eb66e0f03a33d] | ||
17 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
18 | --- | ||
19 | mesonbuild/backend/ninjabackend.py | 3 +-- | ||
20 | mesonbuild/compilers/compilers.py | 3 +++ | ||
21 | 2 files changed, 4 insertions(+), 2 deletions(-) | ||
22 | |||
23 | diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py | ||
24 | index a454e6ab5f..b830e377e4 100644 | ||
25 | --- a/mesonbuild/backend/ninjabackend.py | ||
26 | +++ b/mesonbuild/backend/ninjabackend.py | ||
27 | @@ -1653,8 +1653,7 @@ def generate_compile_rule_for(self, langname, compiler): | ||
28 | self.generate_cs_compile_rule(compiler) | ||
29 | return | ||
30 | if langname == 'vala': | ||
31 | - if self.environment.machines.matches_build_machine(compiler.for_machine): | ||
32 | - self.generate_vala_compile_rules(compiler) | ||
33 | + self.generate_vala_compile_rules(compiler) | ||
34 | return | ||
35 | if langname == 'rust': | ||
36 | self.generate_rust_compile_rules(compiler) | ||
37 | diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py | ||
38 | index 5855de71c8..86c1e33407 100644 | ||
39 | --- a/mesonbuild/compilers/compilers.py | ||
40 | +++ b/mesonbuild/compilers/compilers.py | ||
41 | @@ -1117,6 +1117,9 @@ def find_library(self, *args, **kwargs): | ||
42 | def get_library_dirs(self, *args, **kwargs): | ||
43 | return () | ||
44 | |||
45 | + def get_program_dirs(self, *args, **kwargs): | ||
46 | + return () | ||
47 | + | ||
48 | def has_multi_arguments(self, args, env) -> Tuple[bool, bool]: | ||
49 | raise EnvironmentException( | ||
50 | 'Language {} does not support has_multi_arguments.'.format( | ||
diff --git a/meta/recipes-devtools/meson/meson_0.51.2.bb b/meta/recipes-devtools/meson/meson_0.52.0.bb index de9b905c12..897fa148d9 100644 --- a/meta/recipes-devtools/meson/meson_0.51.2.bb +++ b/meta/recipes-devtools/meson/meson_0.52.0.bb | |||
@@ -1,4 +1,3 @@ | |||
1 | include meson.inc | 1 | include meson.inc |
2 | 2 | ||
3 | BBCLASSEXTEND = "native" | 3 | BBCLASSEXTEND = "native" |
4 | |||
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.51.2.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.52.0.bb index 1756f342ce..1756f342ce 100644 --- a/meta/recipes-devtools/meson/nativesdk-meson_0.51.2.bb +++ b/meta/recipes-devtools/meson/nativesdk-meson_0.52.0.bb | |||