about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2022-01-08 15:35:24 +0900
committerStafford Horne <shorne@gmail.com>2024-05-03 18:28:18 +0100
commitea73eb5f581ef5931fd67005aa0c526ba43366c9 (patch)
treebaf35174e6d17e9f0f12f5bc531ee9422bb9ebf8
parent643d9d38d50b32b5f20fb8ff5da17bff412821b6 (diff)
downloadglibc-ea73eb5f581ef5931fd67005aa0c526ba43366c9.tar.gz
glibc-ea73eb5f581ef5931fd67005aa0c526ba43366c9.tar.xz
glibc-ea73eb5f581ef5931fd67005aa0c526ba43366c9.zip
build-many-glibcs.py: Add openrisc hard float glibc variant
This adds the OpenRISC hard float glibc variant to the build many
script.  We update the compiler for glibc to support hard-float
multilibs to allow us to use a single generic compiler for all glibc
variants, this requires updating the compiler name.

Tested and all builds are passing.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
-rwxr-xr-xscripts/build-many-glibcs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 35dac538e5..38eb9f2dd2 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -362,8 +362,9 @@ class Context(object):
                         gcc_cfg=['--enable-obsolete'])
         self.add_config(arch='or1k',
                         os_name='linux-gnu',
-                        variant='soft',
-                        gcc_cfg=['--with-multilib-list=mcmov'])
+                        gcc_cfg=['--with-multilib-list=mcmov,mhard-float'],
+                        glibcs=[{'variant': 'soft'},
+                                {'variant': 'hard', 'ccopts': '-mhard-float'}])
         self.add_config(arch='powerpc',
                         os_name='linux-gnu',
                         gcc_cfg=['--disable-multilib', '--enable-secureplt'],