【更新】scons 多核编译参数

This commit is contained in:
shaoguoji 2020-07-16 10:04:34 +08:00
parent fed16349f9
commit 2986b5512a
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -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
"""
}
}