public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: caiyinyu <caiyinyu@loongson.cn>
To: adhemerval.zanella@linaro.org, libc-alpha@sourceware.org,
	joseph_myers@mentor.com, carlos@redhat.com, i.swmail@xen0n.name
Cc: caiyinyu <caiyinyu@loongson.cn>
Subject: [PATCH v7 12/13] LoongArch: Update build-many-glibcs.py for the LoongArch Port.
Date: Tue, 19 Jul 2022 09:22:09 +0800	[thread overview]
Message-ID: <20220719012210.1464764-4-caiyinyu@loongson.cn> (raw)
In-Reply-To: <20220719012210.1464764-1-caiyinyu@loongson.cn>

---
 scripts/build-many-glibcs.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index cc058e115c..da9b905900 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -218,6 +218,10 @@ class Context(object):
                         os_name='linux-gnu',
                         first_gcc_cfg=['--with-system-libunwind'],
                         binutils_cfg=['--enable-obsolete'])
+        self.add_config(arch='loongarch64',
+                        os_name='linux-gnu',
+                        variant='lp64d',
+                        gcc_cfg=['--with-abi=lp64d','--disable-multilib'])
         self.add_config(arch='m68k',
                         os_name='linux-gnu',
                         gcc_cfg=['--disable-multilib'])
@@ -1271,6 +1275,7 @@ def install_linux_headers(policy, cmdlist):
                 'i686': 'x86',
                 'i786': 'x86',
                 'ia64': 'ia64',
+                'loongarch64': 'loongarch',
                 'm68k': 'm68k',
                 'microblaze': 'microblaze',
                 'mips': 'mips',
-- 
2.31.1


  parent reply	other threads:[~2022-07-19  1:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19  1:22 [PATCH v7 09/13] LoongArch: Add ABI Lists caiyinyu
2022-07-19  1:22 ` [PATCH v7 10/13] LoongArch: Build Infastructure caiyinyu
2022-07-20 17:14   ` Adhemerval Zanella Netto
2022-07-19  1:22 ` [PATCH v7 11/13] LoongArch: Hard Float Support caiyinyu
2022-07-21 21:03   ` Adhemerval Zanella Netto
2022-07-19  1:22 ` caiyinyu [this message]
2022-07-20 17:16   ` [PATCH v7 12/13] LoongArch: Update build-many-glibcs.py for the LoongArch Port Adhemerval Zanella Netto
2022-07-19  1:22 ` [PATCH v7 13/13] LoongArch: Update NEWS and README for the LoongArch port caiyinyu
2022-07-20 17:16   ` Adhemerval Zanella Netto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220719012210.1464764-4-caiyinyu@loongson.cn \
    --to=caiyinyu@loongson.cn \
    --cc=adhemerval.zanella@linaro.org \
    --cc=carlos@redhat.com \
    --cc=i.swmail@xen0n.name \
    --cc=joseph_myers@mentor.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).