[dts] [PATCH] enlarge build time when compile icc targets

Liu, Yong yong.liu at intel.com
Sun Jun 12 03:58:19 CEST 2016


Applied. Thanks.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yongjie
> Sent: Monday, June 06, 2016 2:55 PM
> To: dts at 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 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