Make “make” faster

I dread installing Qt because it’s an all-day project. With this pro-tip it’s a matter of minutes — and it applies to any make you make. From teammate Justin:

I was complaining about building Qt to my genius head programmer friend at Sony, and he told me a little trick that was freaking awesome.

When you are compiling something from source and using ‘make’…. do:

make -j 9

-j specifies how many ‘jobs’ or threads to run when compiling.

He suggested one more than the cores you have.

I did this building pyqt and it seriously finished in MINUTES.

Justin is smartly smart. And knows smartly smart people. And I know Justin, so I reap the benefits.

Tory

Draws. Sweats. Eats too much sugar-free candy.

You may also like...

%d bloggers like this: