public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] build-many-glibcs.py: Add openrisc hard float glibc variant
@ 2024-05-03 17:29 Stafford Horne
  0 siblings, 0 replies; only message in thread
From: Stafford Horne @ 2024-05-03 17:29 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ea73eb5f581ef5931fd67005aa0c526ba43366c9

commit ea73eb5f581ef5931fd67005aa0c526ba43366c9
Author: Stafford Horne <shorne@gmail.com>
Date:   Sat Jan 8 15:35:24 2022 +0900

    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>

Diff:
---
 scripts/build-many-glibcs.py | 5 +++--
 1 file 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'],

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-03 17:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-03 17:29 [glibc] build-many-glibcs.py: Add openrisc hard float glibc variant Stafford Horne

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).