This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v4 10/10] Add RISC-V 32-bit target to build-many-glibcs.py
- From: Zong Li <zongbox at gmail 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, libc-alpha at sourceware dot org
- Cc: zong at andestech dot com, Zong Li <zongbox at gmail dot com>
- Date: Sat, 1 Dec 2018 11:10:53 +0800
- Subject: [PATCH v4 10/10] Add RISC-V 32-bit target to build-many-glibcs.py
- References: <cover.1543572707.git.zongbox@gmail.com>
Support building three variant of 32 bit RISC-V glibc as follows:
- riscv32-linux-gnu-rv32imac-ilp32
- riscv32-linux-gnu-rv32imafdc-ilp32
- riscv32-linux-gnu-rv32imafdc-ilp32d
2018-11-29 Zong Li <zong@andestech.com>
* scripts/build-many-glibcs.py (Context): Add rv32 targets.
---
ChangeLog | 1 +
scripts/build-many-glibcs.py | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index ee74249..c569cc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -43,6 +43,7 @@
* sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
* sysdeps/riscv/preconfigure: Likewise.
* sysdeps/riscv/rv32/fix-fp-int-convert-overflow.h: New file.
+ * scripts/build-many-glibcs.py (Context): Add rv32 targets.
2018-11-28 Florian Weimer <fweimer@redhat.com>
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 98acabc..e322696 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -320,6 +320,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