[SOLVED]are makefiles parallel-correct?

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
jickster
Posts: 629
Joined: Thu Sep 07, 2017 8:57 pm

[SOLVED]are makefiles parallel-correct?

Post by jickster » Mon Jan 29, 2018 4:09 pm

I know you can call MAKE -j all and have the build run in parallel but that doesn't mean it will run correctly in parallel.

If the dependencies are underspecified, the build will fail or WORSE "succeed" but output will be incorrect.
Last edited by jickster on Tue Jan 30, 2018 10:51 pm, edited 1 time in total.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: are makefiles parallel-correct?

Post by pythoncoder » Tue Jan 30, 2018 8:48 am

I have been using -j 8 for a long time without issue.
Peter Hinch
Index to my micropython libraries.

jickster
Posts: 629
Joined: Thu Sep 07, 2017 8:57 pm

Re: are makefiles parallel-correct?

Post by jickster » Tue Jan 30, 2018 10:51 pm

pythoncoder wrote:
Tue Jan 30, 2018 8:48 am
I have been using -j 8 for a long time without issue.
Thanks!

Post Reply