build-many-glibcs.py: Add mipsisa64r6el-linux-gnu target

Message ID 1576077267-29077-1-git-send-email-dmladjenovic@wavecomp.com
State Committed
Headers

Commit Message

Dragan Mladjenovic Dec. 11, 2019, 3:15 p.m. UTC
  From: "Dragan Mladjenovic" <dmladjenovic@wavecomp.com>

This patch enables building mips/r6 isa/little-endian/hard-float configuration in
o32, n32, and n64 variants.
---
 scripts/build-many-glibcs.py | 11 +++++++++++
 1 file changed, 11 insertions(+)
  

Comments

Joseph Myers Dec. 11, 2019, 9:33 p.m. UTC | #1
On Wed, 11 Dec 2019, Dragan Mladjenovic wrote:

> This patch enables building mips/r6 isa/little-endian/hard-float 
> configuration in o32, n32, and n64 variants.

This patch is OK to commit.
  
Dragan Mladjenovic Dec. 11, 2019, 10:51 p.m. UTC | #2

  
Dragan Mladjenovic Dec. 16, 2019, 6:55 p.m. UTC | #3
On 11.12.2019. 22:33, Joseph Myers wrote:
> On Wed, 11 Dec 2019, Dragan Mladjenovic wrote:
>
>> This patch enables building mips/r6 isa/little-endian/hard-float
>> configuration in o32, n32, and n64 variants.
>
> This patch is OK to commit.
>

Thanks,

Committed as [1].

[1] 
https://sourceware.org/git/?p=glibc.git;a=commit;h=a2e487ce1c59d19345d9ecacc58de79febd869e4
  

Patch

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 0c7d8ec..193d497 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -301,6 +301,17 @@  class Context(object):
                                  'ccopts': '-mabi=32'},
                                 {'variant': 'n64-nan2008-soft',
                                  'ccopts': '-mabi=64'}])
+        self.add_config(arch='mipsisa64r6el',
+                        os_name='linux-gnu',
+                        gcc_cfg=['--with-mips-plt', '--with-nan=2008',
+                                 '--with-arch-64=mips64r6',
+                                 '--with-arch-32=mips32r6',
+                                 '--with-float=hard'],
+                        glibcs=[{'variant': 'n32'},
+                                {'arch': 'mipsisa32r6el',
+                                 'ccopts': '-mabi=32'},
+                                {'variant': 'n64',
+                                 'ccopts': '-mabi=64'}])
         self.add_config(arch='nios2',
                         os_name='linux-gnu')
         self.add_config(arch='powerpc',