lede icon indicating copy to clipboard operation
lede copied to clipboard

How to build fw faster?

Open butinhi opened this issue 1 year ago • 4 comments

It took 4-5 hours to make a fw for a first time. My system below. Pls help me how to make faster Screenshot-from-2023-08-29-16-01-35

butinhi avatar Aug 29 '23 09:08 butinhi

using Core i5-12400 you will cost about 30mins

minlang112 avatar Aug 31 '23 17:08 minlang112

using Core i5-12400 you will cost about 30mins

How? I used make v=s -j1

butinhi avatar Aug 31 '23 17:08 butinhi

1.buy a 7950X machine 2.use make V=s -j[number equal CPU threads]

Cathgao avatar Sep 01 '23 01:09 Cathgao

  • Use a faster machine
  • Use make -j$(nproc) or make V=s -j$(nproc)
  • Use official OpenWrt or ImmortalWrt which does not necessarily need to be compiled by yourself, just download firmware and install software packages from repo

KevinMX avatar Sep 11 '23 02:09 KevinMX