From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 9C0153858D37 for ; Fri, 28 Apr 2023 11:48:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C0153858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682682496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zCgqmiYiYuVPdXR1Gt04Mt2FLnwRBZSwU6oIlGrka/U=; b=HZSTNpNJOxKMulwJeNUuxkRaFVX63ZAOuR6EutA7xMW/iZ8HoE27I1q/vqi0DSsBdy/NCG 6e5hOcgWMwvRieEUzTsmuHZ62et72MXiI05f9WT+PX3pEumSzT7O+I4SGjFk4si5tMgsiy Ms/lCDKh9GrAdE1Po7IB2fXOJMdk+VI= Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-593-KON8OSLSOvyZhfyJ8ibGgg-1; Fri, 28 Apr 2023 07:48:15 -0400 X-MC-Unique: KON8OSLSOvyZhfyJ8ibGgg-1 Received: by mail-yb1-f197.google.com with SMTP id 3f1490d57ef6-b9a77926afbso3649535276.3 for ; Fri, 28 Apr 2023 04:48:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682682494; x=1685274494; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zCgqmiYiYuVPdXR1Gt04Mt2FLnwRBZSwU6oIlGrka/U=; b=WVd0nC+bLx470pMwFGA+V53QKfYabAs7TcnE/z5GE4vhN7rnrcnrkx95HbKFQNHKTa Heuo/6WgdguDGMVyG2cnFmIESGuBPBRFN/MxKtgiAtEirNY4vlmZhVW78J0UbCoLgO16 GPXZYuybN6RXeGAQZHMTy3Yhbldt+pfR/KyatcG8wv/XciVlc24BQj3YAT3Xj3cQa1kh fFY9Lp33UWeol6axqWWtJtyESzeJ+841cspimXX0o0hFvayjeaJXVk4ydyyfUNqwtHqH UxTADocjN67j/zQWUW7GKb8CI7x0ZBmgnf9Kov8W5WOSsCAwAlCmwUsiVDvNmoa2wfVQ D8Vg== X-Gm-Message-State: AC+VfDxtqga5CGAFPK7hKlZc2vgT+YOR7qAEs+7I9dEyEdCjwbHTrpMa FcKweJgW/HcO8EYQGDubV6gFBk1lC0DDpVrWJ1A5WNtC7ipjaU1BT2OyMS3aRnblwGF/cjn+DtD qZkc2cypePIJOBgmKxvRtYMw1ky8CKkXUwl66vYR4r6st8Mt7iYa6Nrhslrm6XBfxTSpYMX0TaR efvA== X-Received: by 2002:a25:a82:0:b0:b95:8f10:5936 with SMTP id 124-20020a250a82000000b00b958f105936mr3820911ybk.54.1682682494554; Fri, 28 Apr 2023 04:48:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4P/7CqxhWuYL6Osaca1iTFCGGU2wYtHtySPQZa4Nucfd15v1gz6DYMZozdI6Ak/GECHYmv5w== X-Received: by 2002:a25:a82:0:b0:b95:8f10:5936 with SMTP id 124-20020a250a82000000b00b958f105936mr3820897ybk.54.1682682494211; Fri, 28 Apr 2023 04:48:14 -0700 (PDT) Received: from athas.redhat.com ([198.48.244.52]) by smtp.gmail.com with ESMTPSA id i3-20020a258b03000000b00b8c08669033sm5064956ybl.40.2023.04.28.04.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Apr 2023 04:48:13 -0700 (PDT) From: Carlos O'Donell To: libc-alpha@sourceware.org Cc: Carlos O'Donell Subject: [PATCH 0/2] Standardize the sorting of Makefile variables Date: Fri, 28 Apr 2023 07:48:09 -0400 Message-Id: <20230428114811.4129539-1-carlos@redhat.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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 my 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 helper python script. Carlos O'Donell (2): nptl: Re-flow and sort variables in Makefile. scripts: Add sort-makefile-lines.py to sort Makefile variables. scripts/sort-makefile-lines.py | 217 +++++++++ sysdeps/pthread/Makefile | 433 +++++++++++++----- .../{tst-mutex7robust.c => tst-robust11.c} | 0 3 files changed, 537 insertions(+), 113 deletions(-) create mode 100755 scripts/sort-makefile-lines.py rename sysdeps/pthread/{tst-mutex7robust.c => tst-robust11.c} (100%) -- 2.39.2