This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH v3 11/12] C-SKY: Add build-many-glibcs.py support
On Fri, 29 Jun 2018, Mao Han wrote:
> * scripts/build-many-glibcs.py: Add C-SKY targets
> ---
> scripts/build-many-glibcs.py | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
> index 601718d..3d658b2a 100755
> --- a/scripts/build-many-glibcs.py
> +++ b/scripts/build-many-glibcs.py
> @@ -191,6 +191,12 @@ class Context(object):
> variant='be8',
> gcc_cfg=['--with-float=hard', '--with-arch=armv7-a',
> '--with-fpu=vfpv3'])
> + self.add_config(arch='csky',
> + os_name='linux-gnuabiv2',
> + gcc_cfg=['--disable-multilib'])
> + self.add_config(arch='csky',
> + os_name='linux-gnuabiv2',
> + gcc_cfg=['--with-float=hard', '--disable-multilib'])
If you have more than one variant with the same arch and os_name, you need
to have variant='something' to avoid them using the same build directories
etc.
Also, since you appear to support both big and little endian, you should
include those variants as well. Every mutually incompatible ABI variant
supported by the port should be tested in build-many-glibcs.py (whether
any non-ABI variants are also tested depends on whether they are different
enough to be likely to have build issues specific to one such variant).
--
Joseph S. Myers
joseph@codesourcery.com