Skip to content
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 -j N" fails #107

Open
rrthomas opened this issue Aug 25, 2020 · 4 comments
Open

"make -j N" fails #107

rrthomas opened this issue Aug 25, 2020 · 4 comments

Comments

@rrthomas
Copy link

If the build system is run in parallel it can fail in various ways. Workaround is to document "don't do that".

@asarhaddon
Copy link
Contributor

Hello.
Commit b4fce2a tells Make to ignore -j options, so this issue can probably be closed.

@rrthomas
Copy link
Author

Thanks @asarhaddon. Current git master HEAD doesn't build for me, so I can't test it.

@rrthomas
Copy link
Author

However, given that parallel building has been turned off, should this line:

GPRBUILD_OPTIONS                        := -j4

be removed from the Makefile? Or is this parallelism OK?

@asarhaddon
Copy link
Contributor

Gprbuild is able to run several gcc instances compiling different Ada units.
Makefile should not attempt parallelism, among other reasons because it would run conflicting gprbuilds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants