From 2986b5512a4dbe74d866eb91f992308fcd5748f3 Mon Sep 17 00:00:00 2001 From: shaoguoji Date: Thu, 16 Jul 2020 10:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91scons=20?= =?UTF-8?q?=E5=A4=9A=E6=A0=B8=E7=BC=96=E8=AF=91=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b6e08fb65b..ffcdceee2b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -127,7 +127,8 @@ pipeline { echo \$RTT_EXEC_PATH - scons -C bsp/\$RTT_BSP + export CPUS=$(cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l) + scons -j${env.CPUS} -C bsp/\$RTT_BSP """ } }