aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-05-22 13:25:50 -0700
committerColin Cross <ccross@android.com>2019-05-23 09:42:18 -0700
commitf2562eb417e7671b870a2c5cb8391566782f73ea (patch)
treefc87a48ffff5db7ab09e7f82e2d0de19f2dbbaec
parent9a833678224740e2332c610461795a51621b5115 (diff)
downloadbuild_soong-f2562eb417e7671b870a2c5cb8391566782f73ea.tar.gz
build_soong-f2562eb417e7671b870a2c5cb8391566782f73ea.tar.bz2
build_soong-f2562eb417e7671b870a2c5cb8391566782f73ea.zip
Cut darwinStripPool from 10 to 5
Failures in strip.sh are still occurring with darwinStripPool set to 10, try 5. Bug: 132822437 Test: none Change-Id: I2df247c89b6d8f6e741d4e17057b06ff9ec72b40 Merged-In: I2df247c89b6d8f6e741d4e17057b06ff9ec72b40 (cherry picked from commit badf8d691f8a7d1c3c853f4aa19005826c409266)
-rw-r--r--cc/builder.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/builder.go b/cc/builder.go
index f9b309d2..fc5400c7 100644
--- a/cc/builder.go
+++ b/cc/builder.go
@@ -123,11 +123,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