1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

meson: upgrade 1.3.0 -> 1.3.1

0001-Make-CPU-family-warnings-fatal.patch
0001-python-module-do-not-manipulate-the-environment-when.patch
0002-Support-building-allarch-recipes-again.patch
refreshed for 1.3.1

(From OE-Core rev: 51b5e79cd37de982492991e56362cf1f0ef2ab8e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu
2024-01-02 15:20:08 +08:00
committed by Richard Purdie
parent 0c7eca932f
commit fc0402dbd7
4 changed files with 15 additions and 17 deletions
@@ -1,4 +1,4 @@
From fcd3260c03f313676720e6219c5953d412fb0a2c Mon Sep 17 00:00:00 2001 From b77cbe67df5fa0998946503f207c256ee740bb5f Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com> From: Ross Burton <ross.burton@intel.com>
Date: Tue, 3 Jul 2018 13:59:09 +0100 Date: Tue, 3 Jul 2018 13:59:09 +0100
Subject: [PATCH] Make CPU family warnings fatal Subject: [PATCH] Make CPU family warnings fatal
@@ -12,10 +12,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
2 files changed, 4 insertions(+), 6 deletions(-) 2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
index 7e0c567..a180065 100644 index 07f1229..a35c356 100644
--- a/mesonbuild/envconfig.py --- a/mesonbuild/envconfig.py
+++ b/mesonbuild/envconfig.py +++ b/mesonbuild/envconfig.py
@@ -284,8 +284,8 @@ class MachineInfo(HoldableObject): @@ -285,8 +285,8 @@ class MachineInfo(HoldableObject):
'but is missing {}.'.format(minimum_literal - set(literal))) 'but is missing {}.'.format(minimum_literal - set(literal)))
cpu_family = literal['cpu_family'] cpu_family = literal['cpu_family']
@@ -27,10 +27,10 @@ index 7e0c567..a180065 100644
endian = literal['endian'] endian = literal['endian']
if endian not in ('little', 'big'): if endian not in ('little', 'big'):
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index e212c7a..9d2bff3 100644 index 2ba2054..d798e3b 100644
--- a/mesonbuild/environment.py --- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py +++ b/mesonbuild/environment.py
@@ -345,10 +345,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str: @@ -359,10 +359,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
if compilers and not any_compiler_has_define(compilers, '__mips64'): if compilers and not any_compiler_has_define(compilers, '__mips64'):
trial = 'mips' trial = 'mips'
@@ -1,4 +1,4 @@
From a97dba12cff6c4c9181909141a1a9f38d7c900bf Mon Sep 17 00:00:00 2001 From e85683698aa3556bf14fc6d35f2c067f16af520b Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com> From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Mon, 19 Nov 2018 14:24:26 +0100 Date: Mon, 19 Nov 2018 14:24:26 +0100
Subject: [PATCH] python module: do not manipulate the environment when calling Subject: [PATCH] python module: do not manipulate the environment when calling
@@ -12,10 +12,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 5 deletions(-) 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py
index 14386f9..118a15f 100644 index 9aea6bd..8c13ede 100644
--- a/mesonbuild/dependencies/python.py --- a/mesonbuild/dependencies/python.py
+++ b/mesonbuild/dependencies/python.py +++ b/mesonbuild/dependencies/python.py
@@ -354,9 +354,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', @@ -380,9 +380,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
empty.name = 'python' empty.name = 'python'
return empty return empty
@@ -25,7 +25,7 @@ index 14386f9..118a15f 100644
try: try:
return PythonPkgConfigDependency(name, env, kwargs, installation, True) return PythonPkgConfigDependency(name, env, kwargs, installation, True)
finally: finally:
@@ -365,8 +362,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', @@ -391,8 +388,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
os.environ[name] = value os.environ[name] = value
elif name in os.environ: elif name in os.environ:
del os.environ[name] del os.environ[name]
@@ -1,21 +1,22 @@
From 656bf55fed01df2d2e2ad6d9d9887173cb16b85c Mon Sep 17 00:00:00 2001 From 6fb8db54929b40e1fd7ac949ef44f0d37df0bae9 Mon Sep 17 00:00:00 2001
From: Peter Kjellerstedt <pkj@axis.com> From: Peter Kjellerstedt <pkj@axis.com>
Date: Thu, 26 Jul 2018 16:32:49 +0200 Date: Thu, 26 Jul 2018 16:32:49 +0200
Subject: [PATCH 2/2] Support building allarch recipes again Subject: [PATCH] Support building allarch recipes again
This registers "allarch" as a known CPU family. This registers "allarch" as a known CPU family.
Upstream-Status: Inappropriate [OE specific] Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
--- ---
mesonbuild/envconfig.py | 1 + mesonbuild/envconfig.py | 1 +
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
index 4d58c91..ff01ad1 100644 index a35c356..436355f 100644
--- a/mesonbuild/envconfig.py --- a/mesonbuild/envconfig.py
+++ b/mesonbuild/envconfig.py +++ b/mesonbuild/envconfig.py
@@ -36,6 +36,7 @@ from pathlib import Path @@ -38,6 +38,7 @@ from pathlib import Path
known_cpu_families = ( known_cpu_families = (
@@ -23,6 +24,3 @@ index 4d58c91..ff01ad1 100644
'aarch64', 'aarch64',
'alpha', 'alpha',
'arc', 'arc',
--
2.24.0
@@ -15,7 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
file://0001-Make-CPU-family-warnings-fatal.patch \ file://0001-Make-CPU-family-warnings-fatal.patch \
file://0002-Support-building-allarch-recipes-again.patch \ file://0002-Support-building-allarch-recipes-again.patch \
" "
SRC_URI[sha256sum] = "4ba253ef60e454e23234696119cbafa082a0aead0bd3bbf6991295054795f5dc" SRC_URI[sha256sum] = "6020568bdede1643d4fb41e28215be38eff5d52da28ac7d125457c59e0032ad7"
inherit python_setuptools_build_meta github-releases inherit python_setuptools_build_meta github-releases