From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: Re: [PATCH] Sort list of entries in examples.dox Date: Mon, 09 Oct 2017 14:51:20 +0100 Message-ID: <1507557080.28033.10.camel@debian.org> References: <20171009132058.8915-1-bwiedemann@suse.de> <20171009132411.8992-1-bwiedemann@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: "Bernhard M. Wiedemann" , dev@dpdk.org Return-path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 29D821B1B2 for ; Mon, 9 Oct 2017 15:51:22 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id l10so18224625wmg.1 for ; Mon, 09 Oct 2017 06:51:22 -0700 (PDT) In-Reply-To: <20171009132411.8992-1-bwiedemann@suse.de> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 2017-10-09 at 15:24 +0200, Bernhard M. Wiedemann wrote: > so that dpdk builds in a reproducible way > in spite of indeterministic filesystem readdir order >=20 > using LC_ALL=3DC for sorting to be independent of locales >=20 > Signed-off-by: Bernhard M. Wiedemann > --- > =C2=A0mk/rte.sdkdoc.mk | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk > index c0eaa3502..8f2f58e73 100644 > --- a/mk/rte.sdkdoc.mk > +++ b/mk/rte.sdkdoc.mk > @@ -93,7 +93,7 @@ $(API_EXAMPLES): api-html-clean > =C2=A0 $(Q)mkdir -p $(@D) > =C2=A0 @printf '/**\n' > $(API_EXAMPLES) > =C2=A0 @printf '@page examples DPDK Example Programs\n\n' >> > $(API_EXAMPLES) > - @find examples -type f -name '*.c' -printf '@example %p\n' > >> $(API_EXAMPLES) > + @find examples -type f -name '*.c' | LC_ALL=3DC sort | xargs > -l echo "@example" >> $(API_EXAMPLES) > =C2=A0 @printf '*/\n' >> $(API_EXAMPLES) > =C2=A0 > =C2=A0guides-pdf-clean: guides-pdf-img-clean Hello=C2=A0Bernhard, If you are interested in reproducible builds please have a look at this patch series I submitted a while ago: http://dpdk.org/dev/patchwork/patch/28386/ I have verified that those patches make the build reproducible on Debian (x86/x86_64/arm64). Feedback from SUSE is very welcome! --=20 Kind regards, Luca Boccassi