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

Package failures non-deterministic #16

Open
Ham22 opened this issue Mar 9, 2017 · 1 comment
Open

Package failures non-deterministic #16

Ham22 opened this issue Mar 9, 2017 · 1 comment

Comments

@Ham22
Copy link
Member

Ham22 commented Mar 9, 2017

Currently we run a full package build with something like this because multi-threaded builds some times fail so we give it another chance single threaded:
make -j8 IGNORE_ERRORS=m || make -j1 IGNORE_ERRORS=m V=s

The problem is that depending on when the multithread build fails we have seen that different numbers of packages are being built successfully even on the same code base.

@Ham22
Copy link
Member Author

Ham22 commented Mar 9, 2017

Perhaps a solution is to run this sequence of events for a build:

  1. make -j8 IGNORE_ERRORS=m
  2. grep log for failed packages
  3. for each failed package make -j1 package/<package>/{compile,install} (even if one fails)
  4. make package/index

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

1 participant