]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
build-many-glibcs.py: Add openrisc hard float glibc variant
authorStafford Horne <shorne@gmail.com>
Sat, 8 Jan 2022 06:35:24 +0000 (15:35 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 3 May 2024 17:28:18 +0000 (18:28 +0100)
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>
scripts/build-many-glibcs.py

index 35dac538e5321d3a90c210cfedff99ea02ebb21f..38eb9f2dd226c3a61796c7b11720435b0fda1dec 100755 (executable)
@@ -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'],