Patchwork Add aarch64 disable-multi-arch variant to build-many-glibcs.py

login
register
mail settings
Submitter Szabolcs Nagy
Date Dec. 20, 2017, 2:29 p.m.
Message ID <5A3A73B7.1000006@arm.com>
Download mbox | patch
Permalink /patch/25053/
State New
Headers show

Comments

Szabolcs Nagy - Dec. 20, 2017, 2:29 p.m.
aarch64 has several ifuncs now so test it without multiarch support separately.

	* scripts/build-many-glibcs.py (Context.add_all_configs): Add
	disable-multi-arch variant to aarch64-linux-gnu.
Joseph Myers - Dec. 20, 2017, 5:47 p.m.
On Wed, 20 Dec 2017, Szabolcs Nagy wrote:

> aarch64 has several ifuncs now so test it without multiarch support separately.
> 
> 	* scripts/build-many-glibcs.py (Context.add_all_configs): Add
> 	disable-multi-arch variant to aarch64-linux-gnu.

OK.

Patch

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index b86d6c1387..70a0b8a2bd 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -160,7 +160,9 @@  class Context(object):
     def add_all_configs(self):
         """Add all known glibc build configurations."""
         self.add_config(arch='aarch64',
-                        os_name='linux-gnu')
+                        os_name='linux-gnu',
+                        extra_glibcs=[{'variant': 'disable-multi-arch',
+                                       'cfg': ['--disable-multi-arch']}])
         self.add_config(arch='aarch64_be',
                         os_name='linux-gnu')
         self.add_config(arch='alpha',