TOOL-16724 bcc: build fails when using "--parallel" on Delphix buildserver #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I don't understand the root cause, but when doing the build in parallel (i.e.
make -j2
), it fails when running on the Delphix based buildserver. This change modifies the build, such that we always usemake -j1
; obviously this isn't ideal, but until we root cause a fix the underlying problem, this would at least allow us to build on the Delphix buildserver.As one might expect, this does increase the time to build the package by about 2x; I don't think this is a big deal, since we don't actually build this package very often, and the total time to build is still "reasonable" (i.e. ~20 mins).
Lastly, we haven't synced our bcc codebase with upstream in quite a while, so we might inherit a fix for this parallel building issue when we do that sync. At that time, we could look at adding back the "--parallel" flag, to see if the build would succeed with the updated code.