public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Standardize the sorting of Makefile variables
@ 2023-05-09 18:51 Carlos O'Donell
  2023-05-09 18:51 ` [PATCH v2 1/2] scripts: Add sort-makefile-lines.py to sort " Carlos O'Donell
  2023-05-09 18:51 ` [PATCH v2 2/2] nptl: Reformat Makefile Carlos O'Donell
  0 siblings, 2 replies; 5+ messages in thread
From: Carlos O'Donell @ 2023-05-09 18:51 UTC (permalink / raw)
  To: libc-alpha, siddhesh; +Cc: Carlos O'Donell

The project has started to re-flow and sort Makefile variables to make
it easier to manage the lists of inputs and tests.  While splitting the
lines is easy to do, the sorting is more onerous because of the desire
to sort like tests with like tests.  The following is an attempt to
standardize teh sorting following the consensus discussion on the list
which suggested using LC_COLLATE=C and sorting similar tests in
numerical order of their prefix.

The series re-flows and then sorts sysdeps/pthread/Makefile using the
new python helper script.

Carlos O'Donell (2):
  scripts: Add sort-makefile-lines.py to sort Makefile variables.
  nptl: Reformat Makefile.

 scripts/sort-makefile-lines.py                | 178 +++++++
 sysdeps/pthread/Makefile                      | 433 +++++++++++++-----
 .../{tst-mutex7robust.c => tst-robust11.c}    |   0
 3 files changed, 498 insertions(+), 113 deletions(-)
 create mode 100755 scripts/sort-makefile-lines.py
 rename sysdeps/pthread/{tst-mutex7robust.c => tst-robust11.c} (100%)

-- 
2.39.2


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

end of thread, other threads:[~2023-05-10 11:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 18:51 [PATCH v2 0/2] Standardize the sorting of Makefile variables Carlos O'Donell
2023-05-09 18:51 ` [PATCH v2 1/2] scripts: Add sort-makefile-lines.py to sort " Carlos O'Donell
2023-05-10 10:35   ` Alejandro Colomar
2023-05-10 11:59     ` Carlos O'Donell
2023-05-09 18:51 ` [PATCH v2 2/2] nptl: Reformat Makefile Carlos O'Donell

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).