Skip to content

Force MAKEFLAGS to --jobs=1 to ensure dependencies are executed sequentially and in correct order #257

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

Merged
merged 1 commit into from
May 16, 2022
Merged

Conversation

oddlama
Copy link
Contributor

@oddlama oddlama commented May 16, 2022

If this is not set, make -j2 web or higher job counts will
cause the build to fail as some dependencies are not expressed
directly on the dependent tasks but as a dependency list
on a parent task.

Alternatively one could add the required dependencies for each
task separately, but that would factually sequentiallize the
build, so there's no real difference except this approach
fixes all dependency chains globally.

sequentially and in-order.

If this is not set, make -j2 web or higher job counts will
cause the build to fail as some dependencies are not expressed
directly on the dependent tasks but as a dependency list
on a parent task.

Alternatively one could add the required dependencies for each
task separately, but that would factually sequentiallize the
build, so there's no real difference except this approach
fixes all dependency chains globally.
@codecov-commenter
Copy link

Codecov Report

Merging #257 (6c2aa0c) into main (db613f8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #257   +/-   ##
=======================================
  Coverage   65.53%   65.53%           
=======================================
  Files          32       32           
  Lines        3122     3122           
=======================================
  Hits         2046     2046           
  Misses        776      776           
  Partials      300      300           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db613f8...6c2aa0c. Read the comment docs.

@binwiederhier
Copy link
Owner

Awesome, thank you.

@binwiederhier binwiederhier merged commit 1950fc5 into binwiederhier:main May 16, 2022
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

Successfully merging this pull request may close these issues.

3 participants