about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-03 09:18:49 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-05 08:51:58 -0300
commit066d80a7cdfa5ab7b2dd66cb51e8abeed60227e5 (patch)
treee1cf70708a3f575218079d6a7d5d4b4ec0e0ebde
parentec138c67cbda8b5826a0a2a7ba456408117996dc (diff)
downloadglibc-066d80a7cdfa5ab7b2dd66cb51e8abeed60227e5.tar.gz
glibc-066d80a7cdfa5ab7b2dd66cb51e8abeed60227e5.tar.xz
glibc-066d80a7cdfa5ab7b2dd66cb51e8abeed60227e5.zip
build-many-glibcs.py: Move sparcv8 to extra_glibcs
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)
-rwxr-xr-xscripts/build-many-glibcs.py9
1 files changed, 5 insertions, 4 deletions
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',