Windows make time very slow

Posts: 18
Joined: Thu Jan 26, 2017 1:16 pm

Windows make time very slow

Postby js1234 » Tue Mar 28, 2017 12:16 pm


the make - process is very slow in the msys environment in Windows. I think it is because it uses fork() which is not available in windows, and the emulation takes very long.

I know the alternative of using a virtual machine but does anyone have any workarounds to make it faster on Windows?


Posts: 2946
Joined: Tue Dec 01, 2015 7:35 am

Re: Windows make time very slow

Postby WiFive » Tue Mar 28, 2017 8:35 pm

Have you tried parallel jobs make -j5

Posts: 2148
Joined: Sun May 08, 2016 4:11 am

Re: Windows make time very slow

Postby ESP_Angus » Tue Mar 28, 2017 11:23 pm

As it happens, yesterday (git revision 16ef01d) some fixes were merged to the master branch improving Windows support, which includes a speed boost. Turns out running 'git submodule status' on Windows/MSYS2 is very slow, and the old build process ran this command multiple times each time 'make' was invoked.

Windows is still slower than Linux & OSX, I think fork() is a major reason for that. But since 16ef01d it should be less painfully slow. :)

As suggested, running parallel make (-j) also makes a big difference (across all platforms) if you have more than one CPU.


Who is online

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