DPDK patches and discussions
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: "Bernhard M. Wiedemann" <bwiedemann@suse.de>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] Sort list of entries in examples.dox
Date: Mon, 09 Oct 2017 14:51:20 +0100	[thread overview]
Message-ID: <1507557080.28033.10.camel@debian.org> (raw)
In-Reply-To: <20171009132411.8992-1-bwiedemann@suse.de>

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
> 
> using LC_ALL=C for sorting to be independent of locales
> 
> Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
> ---
>  mk/rte.sdkdoc.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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
>  	$(Q)mkdir -p $(@D)
>  	@printf '/**\n' > $(API_EXAMPLES)
>  	@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=C sort | xargs
> -l echo "@example" >> $(API_EXAMPLES)
>  	@printf '*/\n' >> $(API_EXAMPLES)
>  
>  guides-pdf-clean: guides-pdf-img-clean

Hello Bernhard,

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!

-- 
Kind regards,
Luca Boccassi

  reply	other threads:[~2017-10-09 13:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09 13:20 Bernhard M. Wiedemann
2017-10-09 13:24 ` Bernhard M. Wiedemann
2017-10-09 13:51   ` Luca Boccassi [this message]
2017-10-09 14:36     ` Bernhard M. Wiedemann
2017-10-09 16:12       ` Luca Boccassi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507557080.28033.10.camel@debian.org \
    --to=bluca@debian.org \
    --cc=bwiedemann@suse.de \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).