about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-29 22:51:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-29 22:51:46 +0000
commit0c0973788367b4ac42aace075a0598bc1c79b7dd (patch)
tree2b413e87b227689cce97734c17939d880a99f494 /scripts
parent34bb10aabfedb5198388693d17c747cb11fbfb4b (diff)
downloadglibc-0c0973788367b4ac42aace075a0598bc1c79b7dd.tar.gz
glibc-0c0973788367b4ac42aace075a0598bc1c79b7dd.tar.xz
glibc-0c0973788367b4ac42aace075a0598bc1c79b7dd.zip
Add SPARC --disable-multi-arch builds to build-many-glibcs.py.
While working on SPARC changes to use libm_alias_* I noticed that the
non-multi-arch sparc32/sparcv9/fpu/s_fabs.S was missing compat symbol
support for fabsl.  This clearly shows inadequate test coverage, so
this patch adds SPARC --disable-multi-arch builds to
build-many-glibcs.py (the 32-bit one fails testing until that bug is
fixed, the 64-bit one passes testing).

	* scripts/build-many-glibcs.py (Context.add_all_configs): Add
	SPARC --disable-multi-arch glibc variants.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-many-glibcs.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 0a18531958..59972a0602 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -358,7 +358,13 @@ class Context(object):
                         os_name='linux-gnu',
                         glibcs=[{},
                                 {'arch': 'sparcv9',
-                                 'ccopts': '-m32 -mlong-double-128'}])
+                                 'ccopts': '-m32 -mlong-double-128'}],
+                        extra_glibcs=[{'variant': 'disable-multi-arch',
+                                       'cfg': ['--disable-multi-arch']},
+                                      {'variant': 'disable-multi-arch',
+                                       'arch': 'sparcv9',
+                                       'ccopts': '-m32 -mlong-double-128',
+                                       'cfg': ['--disable-multi-arch']}])
         self.add_config(arch='tilegx',
                         os_name='linux-gnu',
                         glibcs=[{},