From c0da998afa7466d58c12d8a54baf09d09ae3225e Mon Sep 17 00:00:00 2001 From: "Kunwu.Chan" Date: Fri, 22 Sep 2023 23:33:19 +0800 Subject: CPU family support 'sw_64' and remove the compile warning (#12273) add sw_64 to the list of known cpus --- docs/markdown/Reference-tables.md | 2 ++ mesonbuild/envconfig.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index a21b40b2d..86f3e9ea5 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -128,11 +128,13 @@ set in the cross file. | sh4 | SuperH SH-4 | | sparc | 32 bit SPARC | | sparc64 | SPARC v9 processor | +| sw_64 | 64 bit sunway processor | | wasm32 | 32 bit Webassembly | | wasm64 | 64 bit Webassembly | | x86 | 32 bit x86 processor | | x86_64 | 64 bit x86 processor | + Any cpu family not listed in the above list is not guaranteed to remain stable in future releases. diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py index c6b543a34..5621b99fe 100644 --- a/mesonbuild/envconfig.py +++ b/mesonbuild/envconfig.py @@ -68,6 +68,7 @@ known_cpu_families = ( 'sh4', 'sparc', 'sparc64', + 'sw_64', 'wasm32', 'wasm64', 'x86', @@ -86,6 +87,7 @@ CPU_FAMILIES_64_BIT = [ 'riscv64', 's390x', 'sparc64', + 'sw_64', 'wasm64', 'x86_64', ] -- cgit v1.2.3