From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: Re: [PATCH] mk: parallelize make config Date: Mon, 23 Jan 2017 20:03:19 +0100 Message-ID: References: <20170122015034.19824-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Thomas Monjalon To: Ferruh Yigit Return-path: Received: from mail-io0-f176.google.com (mail-io0-f176.google.com [209.85.223.176]) by dpdk.org (Postfix) with ESMTP id A78262A5B for ; Mon, 23 Jan 2017 20:03:40 +0100 (CET) Received: by mail-io0-f176.google.com with SMTP id l66so117443060ioi.1 for ; Mon, 23 Jan 2017 11:03:40 -0800 (PST) In-Reply-To: <20170122015034.19824-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-22 2:50 GMT+01:00 Ferruh Yigit : > make config dependency resolving was always running serial, > parallelize it for better performance. > > $ time make T=3Dx86_64-native-linuxapp-gcc config > real 0m12.633s > > $ time make -j8 T=3Dx86_64-native-linuxapp-gcc config > real 0m1.826s [...] > +$(RTE_OUTPUT)/.depdirs: $(DEPDIRS) > + @rm -f $@ > + @for f in $(DEPDIRS); do cat $$f >> $@; done > + @sort -u -o $@ $@ This could be just one 'sort -u -o $@ $(DEPDIRS)' Best Regards, Micha=C5=82 Miros=C5=82aw