This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v3 8/8] Add 32 bit RISC-V to build-many-glibcs.py
- From: Zong Li <zong at andestech dot com>
- To: <joseph at codesourcery dot com>, <palmer at dabbelt dot com>, <darius at bluespec dot com>, <andrew at sifive dot com>, <dj at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>, <zongbox at gmail dot com>, Zong Li <zong at andestech dot com>
- Date: Thu, 26 Jul 2018 22:16:28 +0800
- Subject: [PATCH v3 8/8] Add 32 bit RISC-V to build-many-glibcs.py
- References: <cover.1532587497.git.zong@andestech.com>
Support building three variant of 32 bit RISC-V glibc.
---
scripts/build-many-glibcs.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 8ef463f..f1d186a 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -330,6 +330,21 @@ class Context(object):
variant='e500v1',
gcc_cfg=['--disable-multilib', '--enable-secureplt',
'--enable-obsolete'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imac-ilp32',
+ gcc_cfg=['--with-arch=rv32imac', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32d',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32d',
+ '--disable-multilib'])
self.add_config(arch='riscv64',
os_name='linux-gnu',
variant='rv64imac-lp64',
--
2.7.4