mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-18 11:53:05 +08:00
【更新】scons 多核编译参数
This commit is contained in:
Vendored
+2
-1
@@ -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
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user