From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3DC40A2EFC for ; Mon, 16 Sep 2019 11:49:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2300E1C031; Mon, 16 Sep 2019 11:49:06 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9DE761C02C for ; Mon, 16 Sep 2019 11:49:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Sep 2019 02:49:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,512,1559545200"; d="scan'208";a="216152985" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 16 Sep 2019 02:49:03 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Sep 2019 02:49:03 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Sep 2019 02:49:03 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.113]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.140]) with mapi id 14.03.0439.000; Mon, 16 Sep 2019 17:49:01 +0800 From: "Chen, BoX C" To: "Wu, ChangqingX" , "dts@dpdk.org" Thread-Topic: [dts][PATCH V1] framework/delete specify compiler gcc48 Thread-Index: AQHVbDcKONwBMO/dz0KgqkKBluvzXacuDuEg Date: Mon, 16 Sep 2019 09:49:00 +0000 Message-ID: References: <1568601438-1289-1-git-send-email-changqingx.wu@intel.com> In-Reply-To: <1568601438-1289-1-git-send-email-changqingx.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] framework/delete specify compiler gcc48 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Tested-by: Chen, BoX C > -----Original Message----- > From: Wu, ChangqingX > Sent: September 16, 2019 10:37 > To: dts@dpdk.org > Cc: Chen, BoX C ; Wu, ChangqingX > > Subject: [dts][PATCH V1] framework/delete specify compiler gcc48 >=20 > do not need specify the gcc48 when compiling dpdk or app with clang on > freebsd, otherwise will get compile error >=20 > Signed-off-by: changqingxwu > --- > framework/project_dpdk.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py > index f75a4b9..ddad526 100644 > --- a/framework/project_dpdk.py > +++ b/framework/project_dpdk.py > @@ -243,15 +243,15 @@ class DPDKdut(Dut): > self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.= o' , "#") > self.send_expect("rm -rf %s" % r'./app/test/test_resource_tar.re= s.o' , > "#") > self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o= ' , "#") > - build_time =3D 120 > + build_time =3D 180 > # compile > - out =3D self.send_expect("make -j %d install T=3D%s CC=3Dgcc48" = % > (self.number_of_cores, > + out =3D self.send_expect("make -j %d install T=3D%s" % > + (self.number_of_cores, > tar= get), > "#", build_time) > if("Error" in out or "No rule to make" in out): > self.logger.error("ERROR - try without '-j'") > # if Error try to execute make without -j option > - out =3D self.send_expect("make install T=3D%s CC=3Dgcc48" % = target, > + out =3D self.send_expect("make install T=3D%s" % target, > "#", build_time) >=20 > assert ("Error" not in out), "Compilation error..." > @@ -386,7 +386,7 @@ class DPDKdut(Dut): > self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.= o' , "#") > self.send_expect("rm -rf %s" % r'./app/test/test_resource_tar.re= s.o' , > "#") > self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o= ' , "#") > - return self.send_expect("make -j %d -C %s %s CC=3Dgcc48" % > (self.number_of_cores, > + return self.send_expect("make -j %d -C %s %s" % > + (self.number_of_cores, > folder= , extra_options), > "# ", 180) >=20 > -- > 2.17.2