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 0E82DA2EFC for ; Wed, 18 Sep 2019 12:50:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E39DC1C24B; Wed, 18 Sep 2019 12:50:31 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 01CDC1C243 for ; Wed, 18 Sep 2019 12:50:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 03:50:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,520,1559545200"; d="scan'208";a="189229284" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 18 Sep 2019 03:50:29 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 03:50:29 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 03:50:28 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0439.000; Wed, 18 Sep 2019 18:50:27 +0800 From: "Tu, Lijuan" To: "Wu, ChangqingX" , "dts@dpdk.org" CC: "Chen, BoX C" , "Wu, ChangqingX" Thread-Topic: [dts] [PATCH V1] framework/delete specify compiler gcc48 Thread-Index: AQHVbDcgyH6iBv/iWUGL0GK80M5056cxRUpA Date: Wed, 18 Sep 2019 10:50:26 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB23E46@SHSMSX101.ccr.corp.intel.com> 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: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjdkM2JjMDMtNjA2YS00NTYwLWE1NGItNjRlMzU4NzNlY2FkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZE9saHZjbUpMSHNrVlNoVlVBM3p0TUdEaUNHZ1QxVkFRbmhjM0FTNTl4cGFXWEE1S29OMktzR0JtQ0RxZDV0MSJ9 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of changqingxwu > Sent: Monday, September 16, 2019 10:37 AM > 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