ps2dev / ps2sdk-ports

Ports of useful libraries to PS2SDK
Other
107 stars 43 forks source link

Fix random MinGW crashes #64

Closed AKuHAK closed 3 years ago

AKuHAK commented 3 years ago

MinGW can crash if -j is greater than 2 and multiple instances of make are run. This can be fixed by using -j 1 or by removing multiple make calls.

AKuHAK commented 3 years ago

Crash example: https://github.com/AKuHAK/ps2dev/runs/2645083859?check_suite_focus=true#step:6:7335

fjtrujy commented 3 years ago

Can you put an if conditions there, and just do it for windows? Or actually even better, just set j=1 for MinGW

Thanks

AKuHAK commented 3 years ago

This is an alternative solution, I think just calling make clean all install as oneliner is better solution as it will work in all platforms. It should do the same trick as make clean; make all; make install

fjtrujy commented 3 years ago

Ok, sorry I misunderstood the issue.

Thanks