* [dts] [PATCH] enlarge build time when compile icc targets
@ 2016-06-06 6:55 yongjie
2016-06-12 1:58 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: yongjie @ 2016-06-06 6:55 UTC (permalink / raw)
To: dts; +Cc: yongjie
Dts reported timeout error when compile icc on fedora23/22.
Enlarge build time when compile icc targets.
Signed-off-by: yongjie <yongjiex.gu@intel.com>
---
framework/project_dpdk.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index feaebc8..2560bd7 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -165,11 +165,14 @@ class DPDKdut(Dut):
"""
Build DPDK source code on linux with specified target.
"""
+ build_time = 300
+ if "icc" in target:
+ build_time = 900
# clean all
self.send_expect("rm -rf " + target, "#")
# compile
- out = self.send_expect("make -j install T=%s %s" % (target, extra_options), "# ", 300)
+ out = self.send_expect("make -j install T=%s %s" % (target, extra_options), "# ", build_time)
if("Error" in out or "No rule to make" in out):
self.logger.error("ERROR - try without '-j'")
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] enlarge build time when compile icc targets
2016-06-06 6:55 [dts] [PATCH] enlarge build time when compile icc targets yongjie
@ 2016-06-12 1:58 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-06-12 1:58 UTC (permalink / raw)
To: Gu, YongjieX, dts; +Cc: Gu, YongjieX
Applied. Thanks.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yongjie
> Sent: Monday, June 06, 2016 2:55 PM
> To: dts@dpdk.org
> Cc: Gu, YongjieX
> Subject: [dts] [PATCH] enlarge build time when compile icc targets
>
> Dts reported timeout error when compile icc on fedora23/22.
> Enlarge build time when compile icc targets.
>
> Signed-off-by: yongjie <yongjiex.gu@intel.com>
> ---
> framework/project_dpdk.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
> index feaebc8..2560bd7 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -165,11 +165,14 @@ class DPDKdut(Dut):
> """
> Build DPDK source code on linux with specified target.
> """
> + build_time = 300
> + if "icc" in target:
> + build_time = 900
> # clean all
> self.send_expect("rm -rf " + target, "#")
>
> # compile
> - out = self.send_expect("make -j install T=%s %s" % (target,
> extra_options), "# ", 300)
> + out = self.send_expect("make -j install T=%s %s" % (target,
> extra_options), "# ", build_time)
>
> if("Error" in out or "No rule to make" in out):
> self.logger.error("ERROR - try without '-j'")
> --
> 1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-12 1:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 6:55 [dts] [PATCH] enlarge build time when compile icc targets yongjie
2016-06-12 1:58 ` Liu, Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).