From d55d11080e8e8d0f4b6d832d4020787c42ba9943 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 28 May 2021 04:07:49 +0200 Subject: [PATCH] arch: Add support for ARC CPU This is based on the ARCv2 32-bit little-endian hard-float ISA. Closes: #980963 Based-on-patch-by: Alexey Brodkin --- data/cputable | 1 + scripts/t/Dpkg_Arch.t | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/cputable b/data/cputable index 05d2a44b2..b25b97211 100644 --- a/data/cputable +++ b/data/cputable @@ -22,6 +22,7 @@ i386 i686 (i[34567]86|pentium) 32 little ia64 ia64 ia64 64 little alpha alpha alpha.* 64 little amd64 x86_64 (amd64|x86_64) 64 little +arc arc arc 32 little armeb armeb arm.*b 32 big arm arm arm.* 32 little arm64 aarch64 aarch64 64 little diff --git a/scripts/t/Dpkg_Arch.t b/scripts/t/Dpkg_Arch.t index 4f26778aa..be83dc2eb 100644 --- a/scripts/t/Dpkg_Arch.t +++ b/scripts/t/Dpkg_Arch.t @@ -16,7 +16,7 @@ use strict; use warnings; -use Test::More tests => 17914; +use Test::More tests => 18407; use_ok('Dpkg::Arch', qw(debarch_to_debtuple debarch_to_multiarch debarch_eq debarch_is debarch_is_wildcard @@ -187,7 +187,7 @@ foreach my $arch (@valid_arches) { "bijective triplet $triplet to tuple @tuple"); } -is(scalar @valid_arches, 539, 'expected amount of known architectures'); +is(scalar @valid_arches, 554, 'expected amount of known architectures'); { local $ENV{CC} = 'false'; -- 2.32.0.rc0.200.g928e72b83f