Merge "Cut darwinStripPool from 10 to 5" am: ecca61f0f2
am: bf96a947f1
am: a78a8691d6
Change-Id: Ibb9d4cd178a7375e55e5c3197ccff518c5e3a6c7
This commit is contained in:
@@ -124,11 +124,11 @@ var (
|
||||
_ = pctx.SourcePathVariable("xzCmd", "prebuilts/build-tools/${config.HostPrebuiltTag}/bin/xz")
|
||||
|
||||
// b/132822437: objcopy uses a file descriptor per .o file when called on .a files, which runs the system out of
|
||||
// file descriptors on darwin. Limit concurrent calls to 10 on darwin.
|
||||
// file descriptors on darwin. Limit concurrent calls to 5 on darwin.
|
||||
darwinStripPool = func() blueprint.Pool {
|
||||
if runtime.GOOS == "darwin" {
|
||||
return pctx.StaticPool("darwinStripPool", blueprint.PoolParams{
|
||||
Depth: 10,
|
||||
Depth: 5,
|
||||
})
|
||||
} else {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user