test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Gu, YongjieX" <yongjiex.gu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Gu, YongjieX" <yongjiex.gu@intel.com>
Subject: Re: [dts] [PATCH] enlarge build time when compile icc targets
Date: Sun, 12 Jun 2016 01:58:19 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E22238536@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1465196114-10320-1-git-send-email-yongjiex.gu@intel.com>

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

      reply	other threads:[~2016-06-12  1:58 UTC|newest]

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

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=86228AFD5BCD8E4EBFD2B90117B5E81E22238536@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yongjiex.gu@intel.com \
    /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).