[dts] [PATCH] enlarge build time when compile icc targets
yongjie
yongjiex.gu at intel.com
Mon Jun 6 08:55:14 CEST 2016
Dts reported timeout error when compile icc on fedora23/22.
Enlarge build time when compile icc targets.
Signed-off-by: yongjie <yongjiex.gu at 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
More information about the dts
mailing list