unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] build-many-glibcs.py: Add x86_64-linux-gnu-minimal configuration
@ 2021-07-23  9:26 Florian Weimer via Libc-alpha
  2021-07-23 11:03 ` Siddhesh Poyarekar
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer via Libc-alpha @ 2021-07-23  9:26 UTC (permalink / raw)
  To: libc-alpha

This configuration exercises various --disable-* configure options.
It is expected to catch -Werror failures that only affect these
configurations.

---
 scripts/build-many-glibcs.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 6643bb6e92..6539ab76cb 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -425,6 +425,15 @@ class Context(object):
                                 {'arch': 'i686', 'ccopts': '-m32 -march=i686'}],
                         extra_glibcs=[{'variant': 'disable-multi-arch',
                                        'cfg': ['--disable-multi-arch']},
+                                      {'variant': 'minimal',
+                                       'cfg': ['--disable-multi-arch',
+                                               '--disable-profile',
+                                               '--disable-timezone-tools',
+                                               '--disable-mathvec',
+                                               '--enable-tunables=no',
+                                               '--disable-crypt',
+                                               '--disable-build-nscd',
+                                               '--disable-nscd']},
                                       {'variant': 'static-pie',
                                        'cfg': ['--enable-static-pie']},
                                       {'variant': 'x32-static-pie',


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] build-many-glibcs.py: Add x86_64-linux-gnu-minimal configuration
  2021-07-23  9:26 [PATCH] build-many-glibcs.py: Add x86_64-linux-gnu-minimal configuration Florian Weimer via Libc-alpha
@ 2021-07-23 11:03 ` Siddhesh Poyarekar
  2021-07-23 16:31   ` Florian Weimer via Libc-alpha
  0 siblings, 1 reply; 3+ messages in thread
From: Siddhesh Poyarekar @ 2021-07-23 11:03 UTC (permalink / raw)
  To: Florian Weimer, libc-alpha

On 7/23/21 2:56 PM, Florian Weimer via Libc-alpha wrote:
> This configuration exercises various --disable-* configure options.
> It is expected to catch -Werror failures that only affect these
> configurations.
> 
> ---
>   scripts/build-many-glibcs.py | 9 +++++++++
>   1 file changed, 9 insertions(+)
> 
> diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
> index 6643bb6e92..6539ab76cb 100755
> --- a/scripts/build-many-glibcs.py
> +++ b/scripts/build-many-glibcs.py
> @@ -425,6 +425,15 @@ class Context(object):
>                                   {'arch': 'i686', 'ccopts': '-m32 -march=i686'}],
>                           extra_glibcs=[{'variant': 'disable-multi-arch',
>                                          'cfg': ['--disable-multi-arch']},
> +                                      {'variant': 'minimal',
> +                                       'cfg': ['--disable-multi-arch',
> +                                               '--disable-profile',
> +                                               '--disable-timezone-tools',
> +                                               '--disable-mathvec',
> +                                               '--enable-tunables=no',

There is a --disable-tunables too which works the same and looks 
prettier in that context ;)

> +                                               '--disable-crypt',
> +                                               '--disable-build-nscd',
> +                                               '--disable-nscd']},

The INSTALL lists --disable-scv and --disable-experimental-malloc too. 
As an aside, maybe we should graduate tcache from being 'experimental' 
to being more permanent in 2.35 and then make this option nop.

>                                         {'variant': 'static-pie',
>                                          'cfg': ['--enable-static-pie']},
>                                         {'variant': 'x32-static-pie',
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] build-many-glibcs.py: Add x86_64-linux-gnu-minimal configuration
  2021-07-23 11:03 ` Siddhesh Poyarekar
@ 2021-07-23 16:31   ` Florian Weimer via Libc-alpha
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Weimer via Libc-alpha @ 2021-07-23 16:31 UTC (permalink / raw)
  To: Siddhesh Poyarekar; +Cc: libc-alpha

* Siddhesh Poyarekar:

> On 7/23/21 2:56 PM, Florian Weimer via Libc-alpha wrote:
>> This configuration exercises various --disable-* configure options.
>> It is expected to catch -Werror failures that only affect these
>> configurations.
>> ---
>>   scripts/build-many-glibcs.py | 9 +++++++++
>>   1 file changed, 9 insertions(+)
>> diff --git a/scripts/build-many-glibcs.py
>> b/scripts/build-many-glibcs.py
>> index 6643bb6e92..6539ab76cb 100755
>> --- a/scripts/build-many-glibcs.py
>> +++ b/scripts/build-many-glibcs.py
>> @@ -425,6 +425,15 @@ class Context(object):
>>                                   {'arch': 'i686', 'ccopts': '-m32 -march=i686'}],
>>                           extra_glibcs=[{'variant': 'disable-multi-arch',
>>                                          'cfg': ['--disable-multi-arch']},
>> +                                      {'variant': 'minimal',
>> +                                       'cfg': ['--disable-multi-arch',
>> +                                               '--disable-profile',
>> +                                               '--disable-timezone-tools',
>> +                                               '--disable-mathvec',
>> +                                               '--enable-tunables=no',
>
> There is a --disable-tunables too which works the same and looks
> prettier in that context ;)

It's not documented, but I can use it still.

>> +                                               '--disable-crypt',
>> +                                               '--disable-build-nscd',
>> +                                               '--disable-nscd']},
>
> The INSTALL lists --disable-scv and --disable-experimental-malloc
> too. As an aside, maybe we should graduate tcache from being
> 'experimental' to being more permanent in 2.35 and then make this
> option nop.

--disable-scv isn't about minimization.  I forgot that
--disable-experimental-malloc controls tcache.

I'm going to send an updated patch.

Thanks,
Florian


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-23 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23  9:26 [PATCH] build-many-glibcs.py: Add x86_64-linux-gnu-minimal configuration Florian Weimer via Libc-alpha
2021-07-23 11:03 ` Siddhesh Poyarekar
2021-07-23 16:31   ` Florian Weimer via Libc-alpha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).