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
Make failes in parallel mode "make -j4" #25
Comments
Not sure exactly what I should execute. I did
And the -d output:
|
“make -j4 Q=” would have been enough. There is a race condition when working with Yacc. Fixing it in a portable way is actually pretty tricky. I’ll take a closer look tonight. |
This will do the trick in a portable way: src/asm/globlex.o src/asm/lexer.o src/asm/gameboy/locallex.o: src/asm/asmy.h |
I came up with something equivalent but yours is shorter and clearer. Thanks. Testing the fix exposed another bug: $< was being used outside an inference rule (not guaranteed by POSIX and doesn't work on OpenBSD make). 73e44cb should fix both issues. |
Tested with latest: 73e44cb The issue is fixed. |
I'm working on a submission to homebrew Homebrew/legacy-homebrew#32647. By default they use a parallel build. I found that when homebrew tries to build rgbds in parallel it fails.
To build in parallel use the following:
The text was updated successfully, but these errors were encountered: