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

fix(makefile): Disable parallel execution of targets #4886

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

provokateurin
Copy link
Member

📝 Summary

I have export MAKEFLAGS="-j$(nproc)" in my environment which allows make to spawn multiple jobs at the same time. This breaks running make because installing dependencies and compiling happens at the same time which ultimate fails.
Adding this line disables any parallel execution of any targets. See https://www.gnu.org/software/make/manual/html_node/Parallel-Disable.html

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

@provokateurin
Copy link
Member Author

Failure is of course unrelated to this change.

@juliusknorr juliusknorr merged commit 11735ff into main Oct 20, 2023
25 of 29 checks passed
@juliusknorr juliusknorr deleted the fix/makefile/disable-parallel branch October 20, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants