test suite reviews and discussions
 help / color / mirror / Atom feed
From: yongjie <yongjiex.gu@intel.com>
To: dts@dpdk.org
Cc: yongjie <yongjiex.gu@intel.com>
Subject: [dts] [PATCH] enlarge build time when compile icc targets
Date: Mon,  6 Jun 2016 14:55:14 +0800	[thread overview]
Message-ID: <1465196114-10320-1-git-send-email-yongjiex.gu@intel.com> (raw)

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

             reply	other threads:[~2016-06-06  6:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06  6:55 yongjie [this message]
2016-06-12  1:58 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1465196114-10320-1-git-send-email-yongjiex.gu@intel.com \
    --to=yongjiex.gu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).