From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=/Rd9NS5cE35tk0uJUKIdugse+OP1xEwEAJKKEUzD2nk=; b=cRT5nRG7GEjmzmiUKDfkawnd3YBaUIX8mlOopzgCNwqD/8VRCaCeqszVljkQA9p/30 xSeoMmEjtpwG48NnB8QrC0nIFnuxO6y14lvzaKQa07p0DviIy+oS0OKgWzisWpcc6Qsu H228KNmLZm4vcajAL5+eTtxpn8AmhdOMBx4khuMV7EExSvMz0dx00+EV0+fBWHLE+DDQ bQ/Exv4IZj03R16bjm1tTCK4afD3aD+AduGlTQYsDYHWUw6iR7E2xiz85t8PmKIj4Lcu leLPniDnMVVo4cbqz+WZavWWkSLTFX5c+D1VbZwYClGjT0bPEJBpx8o+Kq+Ybe7iTtqT 16kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=/Rd9NS5cE35tk0uJUKIdugse+OP1xEwEAJKKEUzD2nk=; b=alWR6YkpMVEVOKekhHqOqBE++T4iCT9g1Ttf+hGByo28gp432ZUf+m1HENJTcUUDp6 DacP7AyjRWStFHE3TQeu1tIaZEd9MW9loN1b1atr0K4Pj+27dFqOEK54WfadHwBem0I1 WRBCJUwvpqNhsbKvfPtUDByUqC6qZuSPvw1NAbHzzyDjUfdmAs6Aqvj/cc6WuiQ3QdGt yfr0W7bFA0cBoVLOnG4GxRXwvzkWiDLJR1ZfIy8vQ4ZACTNP8DNk1MvkuDXT3mpCT53u y0FYIQFJU7lhcUSX+CT8AZVRhce4JwixYAGZRmwFUDEAmKJkSV+tlZnuzVG2EkpqgSiI pfUQ== X-Gm-Message-State: AIkVDXJoDNZ2KmZKBLZXCh90C/TYXBL76P4DV50ox+q/bpT0F3GHOmmx2/JjztWnc3TWx63TvVhefY5HL88chg== X-Received: by 10.107.6.215 with SMTP id f84mr25963609ioi.210.1485198219969; Mon, 23 Jan 2017 11:03:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.148.40 with HTTP; Mon, 23 Jan 2017 11:03:19 -0800 (PST) In-Reply-To: <20170122015034.19824-1-ferruh.yigit@intel.com> References: <20170122015034.19824-1-ferruh.yigit@intel.com> From: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Date: Mon, 23 Jan 2017 20:03:19 +0100 Message-ID: To: Ferruh Yigit Cc: dev@dpdk.org, Thomas Monjalon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 23 Jan 2017 19:03:41 -0000 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