summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-01-02 22:13:42 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-01-02 22:13:42 +0000
commit4179178bf0cfafe72c00647b79e69e47bd5c6a89 (patch)
tree89a74c917ff993c0f31184c208435eaad37c9c17 /scripts
parentcbce12d22b91a2393158ed7cb0a81bb26478dafd (diff)
downloadglibc-4179178bf0cfafe72c00647b79e69e47bd5c6a89.tar.gz
glibc-4179178bf0cfafe72c00647b79e69e47bd5c6a89.tar.xz
glibc-4179178bf0cfafe72c00647b79e69e47bd5c6a89.zip
Add build-many-glibcs.py powerpc-linux-gnu-power4 build.
The 32-bit powerpc configurations in build-many-glibcs.py were failing
to cover the powerpc32 multiarch code at all, because that code is
only built for power4 and above configurations.  This patch adds a
32-bit power4 configuration so that at least some of that multiarch
code gets build-tested.  (This is preparation for reviewing the w_*
file renaming, which affects such powerpc32 multiarch files.)

	* scripts/build-many-glibcs.py (Context.add_all_configs): Add
	power4 glibc for powerpc-linux-gnu.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-many-glibcs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 9ca9236d60..60a7874875 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -268,7 +268,10 @@ class Context(object):
                         os_name='linux-gnu')
         self.add_config(arch='powerpc',
                         os_name='linux-gnu',
-                        gcc_cfg=['--disable-multilib', '--enable-secureplt'])
+                        gcc_cfg=['--disable-multilib', '--enable-secureplt'],
+                        extra_glibcs=[{'variant': 'power4',
+                                       'ccopts': '-mcpu=power4',
+                                       'cfg': ['--with-cpu=power4']}])
         self.add_config(arch='powerpc',
                         os_name='linux-gnu',
                         variant='soft',