[已解决] idf.py build 是否可以配置多个进程一起编译?

nilala
Posts: 31
Joined: Tue Jun 15, 2021 9:40 am

[已解决] idf.py build 是否可以配置多个进程一起编译?

Postby nilala » Tue Jul 20, 2021 7:08 am

请教一下
idf.py build 如何配置多个进程一起编译?
就像make -j4
谢谢!

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: idf.py build 是否可以配置多个进程一起编译?

Postby ESP_Gargamel » Tue Jul 20, 2021 1:11 pm

默认应该也是多线程编的,具体数值不确认,如果你想自己类似 make 一样,可以在 build 目录下用

Code: Select all

ninja -j16 all
ninja clean

nilala
Posts: 31
Joined: Tue Jun 15, 2021 9:40 am

Re: idf.py build 是否可以配置多个进程一起编译?

Postby nilala » Wed Jul 21, 2021 1:58 am

OK,谢谢!

Who is online

Users browsing this forum: Baidu [Spider] and 131 guests