diff mbox series

build-many-glibcs.py: Move sparcv8 to extra_glibcs

Message ID 20191203122221.32587-1-adhemerval.zanella@linaro.org
State Accepted
Commit 066d80a7cdfa5ab7b2dd66cb51e8abeed60227e5
Headers show
Series build-many-glibcs.py: Move sparcv8 to extra_glibcs | expand

Commit Message

Adhemerval Zanella Dec. 3, 2019, 12:22 p.m. UTC
It also fixes the sparcv9-linux-gnu-disable-multi-arch configuration.
The resulting sparc possible build permutations are:

  - sparc64-linux-gnu
  - sparcv9-linux-gnu
  - sparcv8-linux-gnu-leon3 (from extra_glibcs)
  - sparc64-linux-gnu-disable-multi-arch (from extra_glibcs)
  - sparcv9-linux-gnu-disable-multi-arch (from extra_glibcs)
---
 scripts/build-many-glibcs.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

-- 
2.17.1

Comments

Gabriel F. T. Gomes Dec. 3, 2019, 1:40 p.m. UTC | #1
Hi, Adhemerval,

On Tue, 03 Dec 2019, Adhemerval Zanella wrote:

>It also fixes the sparcv9-linux-gnu-disable-multi-arch configuration.


Thanks for doing this.

>The resulting sparc possible build permutations are:

>

>  - sparc64-linux-gnu

>  - sparcv9-linux-gnu

>  - sparcv8-linux-gnu-leon3 (from extra_glibcs)

>  - sparc64-linux-gnu-disable-multi-arch (from extra_glibcs)

>  - sparcv9-linux-gnu-disable-multi-arch (from extra_glibcs)


Looks good to me.
diff mbox series

Patch

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 34c933acbc..0c7d8ecaa2 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -358,15 +358,16 @@  class Context(object):
         self.add_config(arch='sparc64',
                         os_name='linux-gnu',
                         glibcs=[{},
-                                {'arch': 'sparcv8',
-                                 'ccopts': '-m32 -mlong-double-128 -mcpu=leon3'},
                                 {'arch': 'sparcv9',
                                  'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
-                        extra_glibcs=[{'variant': 'disable-multi-arch',
+                        extra_glibcs=[{'variant': 'leon3',
+                                       'arch' : 'sparcv8',
+                                       'ccopts' : '-m32 -mlong-double-128 -mcpu=leon3'},
+                                      {'variant': 'disable-multi-arch',
                                        'cfg': ['--disable-multi-arch']},
                                       {'variant': 'disable-multi-arch',
                                        'arch': 'sparcv9',
-                                       'ccopts': '-m32 -mlong-double-128',
+                                       'ccopts': '-m32 -mlong-double-128 -mcpu=v9',
                                        'cfg': ['--disable-multi-arch']}])
         self.add_config(arch='x86_64',
                         os_name='linux-gnu',