-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run parallel make #1628
Comments
Recent versions if git have @andr2000 Parallelizing the build sounds like a good idea to me - if you want yo can prepare a PR and send it for review. |
Well, I know about the "-j" option, but the problem is that it won't help
|
I can confirm that this is a problem on Windows builds as well. My workaround is to use regular So I concur with @andr2000. |
Well, it does need altering the makefile and making lots of changes, |
@andr2000 Why don't you send the changes as PR which will be marked as experimental? (just add "Experimental" in the title) This way I can test it under Linux, Mac OS X and FreeBSD and others can test it on the different flavours of Windows. |
Because the changes are WIP and not yet complete |
Should be fixed with the merging of #1724. |
3rd party libraries and Arduino libraries are two different makefile rules both trying to fetch sub-modules if make runs in parallel mode, e.g. -j option specified. This results in errors like:
"error: could not lock config file .git/config: File exists"
This can be worked around by either running make without "-j" or putting ".NOTPARALLEL" target [1],
effectively disabling the parallel build, but fetching seems to need a fix.
[1] https://www.gnu.org/software/make/manual/html_node/Special-Targets.html
The text was updated successfully, but these errors were encountered: