【更新】scons 多核编译参数
This commit is contained in:
parent
fed16349f9
commit
2986b5512a
|
@ -127,7 +127,8 @@ pipeline {
|
||||||
|
|
||||||
echo \$RTT_EXEC_PATH
|
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
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue