← Back to team overview

kicad-developers team mailing list archive

Re: Any pointers to speed up the build

 

Few things that can help
1. Disable qa tests build if you don't need them
2. Disable python scripting if you don't need it
3. Use MSVC if you are on windows. Their linker is a LOT faster than gcc.
4. Use more powerful hardware. Those steps take <10s on my pc but it's a 12
core 3900x.

Best,
Andrew

On Sun, Jul 11, 2021 at 5:35 AM Pradeepa Senanayake <pradeepa.kck@xxxxxxxxx>
wrote:

> Hello Team,
>
> I don't know whether this is normal, but even for a small change, the
> application takes ~ 15 mins to build.
>
> $ time make -j 5 install
> ...
> ...
> real    14m51.815s
> user    0m8.017s
> sys     0m15.641s
>
> The most time is spent in the linking process. (Following steps)
>
> [ 98%] Linking CXX shared module _pcbnew.kiface
> [ 98%] Built target pcbnew_kiface
> [ 98%] Creating python's pcbnew native module _pcbnew.pyd for command line
> use.
> [ 98%] Built target pcbnew
> [ 98%] Linking CXX executable qa_pcbnew_tools.exe
> [ 98%] Linking CXX executable qa_pcbnew.exe
> [ 98%] Built target pcbnew_python_module
> [ 98%] Built target qa_pcbnew_tools
> [100%] Built target qa_pcbnew
>
> Is there a way to speed this up?
>
> Thanks!
> Best Regards,
> Pradeepa Senanayake.
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References