From 9453ac6182f19ac0083447b1430b8d6afaa65b6c Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Fri, 21 Sep 2018 00:11:57 +0300 Subject: [PATCH] mesonbuild: Recognise ARC architecture -------------------------->8----------------------- root@nsimhs:~# python Python 2.7.15 (default, Sep 20 2018, 21:44:15) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> >>> import platform >>> print platform.machine() arc -------------------------->8----------------------- Signed-off-by: Alexey Brodkin --- docs/markdown/Reference-tables.md | 1 + mesonbuild/environment.py | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index ab79abd57..ccdcb344c 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -48,6 +48,7 @@ set in the cross file. | x86_64 | 64 bit x86 processor | | ia64 | Itanium processor | | arm | 32 bit ARM processor | +| arc | 32 bit ARC processor | | aarch64 | 64 bit ARM processor | | mips | 32 bit MIPS processor | | mips64 | 64 bit MIPS processor | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 9c969ad08..3ca8692a1 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -69,6 +69,7 @@ build_filename = 'meson.build' known_cpu_families = ( 'aarch64', + 'arc', 'arm', 'e2k', 'ia64',