From patchwork Thu Nov 29 03:32:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5q+b5pmX?= X-Patchwork-Id: 1005036 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-97678-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=c-sky.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="B3NEXPQW"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4353HP2NTqz9s3l for ; Thu, 29 Nov 2018 14:42:09 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; q=dns; s=default; b=GgGq/wqj QQqbsZ8BqfDp5ga8yWYEEEJ05t03Govh3jgg3185+eI6eeg3PH3LV73I9/eXpTtU /pLCpSkXYwoeudeCm4IQ+Kguit37nTRpnN8Ppfm4Yl9olbTHtXThAzQ5HCrW3T5D X/xh/1X9gnf9BThi89eYhY76jCGU5PR8ZnI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; s=default; bh=pSxuIbmsquLwrP nJIvzSniWzgb8=; b=B3NEXPQWMMeR8PkMuXPrDKXBGQIzy/rYp1DBhcE78Scnkt k9zq4DD5N/LdS1YhBUpbcNEvuw253UXOSEmQsqy3EvXaiTdCBiHuUdjj8UGhUBvU bnGzeJCPar4AD+w451JUm7TqdtldkZgRLx7NAqC0VQzj8kCp1x/sRpaN2uQZ8= Received: (qmail 89238 invoked by alias); 29 Nov 2018 03:41:55 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 89184 invoked by uid 89); 29 Nov 2018 03:41:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=H*r:Unknown, parisc X-HELO: vmh-VirtualBox From: Mao Han To: libc-alpha@sourceware.org Cc: c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, ren_guo@c-sky.com, yibin_liu@c-sky.com, Mao Han Subject: [PATCH v6 12/13] C-SKY: Add build-many-glibcs.py support Date: Thu, 29 Nov 2018 11:32:28 +0800 Message-Id: <73f124004b40c8a6901f5547c8f7f1c99fc9dbe1.1543283180.git.han_mao@c-sky.com> In-Reply-To: References: In-Reply-To: References: * scripts/build-many-glibcs.py: Add C-SKY targets --- scripts/build-many-glibcs.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 376382d..13a444b 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -181,6 +181,15 @@ class Context(object): variant='be8', gcc_cfg=['--with-float=hard', '--with-arch=armv7-a', '--with-fpu=vfpv3']) + self.add_config(arch='csky', + os_name='linux-gnuabiv2', + variant='soft', + gcc_cfg=['--disable-multilib', + '--enable-initfini-array']) + self.add_config(arch='csky', + os_name='linux-gnuabiv2', + gcc_cfg=['--with-float=hard', '--disable-multilib', + '--enable-initfini-array']) self.add_config(arch='hppa', os_name='linux-gnu') self.add_config(arch='i686', @@ -1261,6 +1270,7 @@ class Config(object): arch_map = {'aarch64': 'arm64', 'alpha': 'alpha', 'arm': 'arm', + 'csky': 'csky', 'hppa': 'parisc', 'i486': 'x86', 'i586': 'x86',