From patchwork Fri Mar 13 03:04:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 38551 Return-Path: X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.73.133]) by sourceware.org (Postfix) with ESMTPS id 637F33AA8001 for ; Fri, 13 Mar 2020 03:04:33 +0000 (GMT) Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id A7DEF402A6; Fri, 13 Mar 2020 03:04:32 +0000 (UTC) Received: from vineetg-Latitude-E7450.internal.synopsys.com (unknown [10.13.182.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 7AFA7A0080; Fri, 13 Mar 2020 03:04:32 +0000 (UTC) From: Vineet Gupta To: libc-alpha@sourceware.org Cc: linux-snps-arc@lists.infradead.org, Vineet Gupta Subject: [PATCH v4 14/15] build-many-glibcs.py: Enable ARC builds Date: Thu, 12 Mar 2020 20:04:18 -0700 Message-Id: <20200313030419.15843-15-vgupta@synopsys.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200313030419.15843-1-vgupta@synopsys.com> References: <20200313030419.15843-1-vgupta@synopsys.com> MIME-Version: 1.0 X-Spam-Status: No, score=-27.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2020 03:04:35 -0000 Signed-off-by: Vineet Gupta --- scripts/build-many-glibcs.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 0f6c4a5e3a08..011a30494e1a 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -162,6 +162,12 @@ class Context(object): 'cfg': ['--disable-multi-arch']}]) self.add_config(arch='aarch64_be', os_name='linux-gnu') + self.add_config(arch='arc', + os_name='linux-gnu', + gcc_cfg=['--disable-multilib', '--with-cpu=hs38']) + self.add_config(arch='arc', + os_name='linux-gnuhf', + gcc_cfg=['--disable-multilib', '--with-cpu=hs38_linux']) self.add_config(arch='alpha', os_name='linux-gnu') self.add_config(arch='arm', @@ -1239,6 +1245,7 @@ def install_linux_headers(policy, cmdlist): """Install Linux kernel headers.""" arch_map = {'aarch64': 'arm64', 'alpha': 'alpha', + 'arc': 'arc', 'arm': 'arm', 'csky': 'csky', 'hppa': 'parisc',