From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 47E2A98 for ; Mon, 30 Jan 2017 10:41:18 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP; 30 Jan 2017 01:41:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,310,1477983600"; d="scan'208";a="928110682" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by orsmga003.jf.intel.com with ESMTP; 30 Jan 2017 01:41:16 -0800 To: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= References: <20170122015034.19824-1-ferruh.yigit@intel.com> Cc: dev@dpdk.org, Thomas Monjalon From: Ferruh Yigit Message-ID: <00b38d68-d431-8691-7c92-6d60350c8117@intel.com> Date: Mon, 30 Jan 2017 09:41:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH] mk: parallelize make config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2017 09:41:18 -0000 On 1/23/2017 7:03 PM, Michał Mirosław wrote: > 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=x86_64-native-linuxapp-gcc config >> real 0m12.633s >> >> $ time make -j8 T=x86_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)' Yes, I will update in next version, thanks. > > Best Regards, > Michał Mirosław >