compiler_wrapper: reenable goma w/ rusage
It was determined that INFRA_FAILUREs in unstable builders were
caused by timeouts due to disabling Goma with ruage. This CL
remedies that by reenabling Goma.
BUG=chromium:1193733
TEST=Tested with bb add
Change-Id: Id8c2b175da1634916baadd865bb55331fa2dd99b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2780051
Tested-by: Ryan Beltran <ryanbeltran@chromium.org>
Reviewed-by: George Burgess <gbiv@chromium.org>
Reviewed-by: Denis Nikitin <denik@chromium.org>
diff --git a/compiler_wrapper/compiler_wrapper.go b/compiler_wrapper/compiler_wrapper.go
index 2de2f6a..d2b4769 100644
--- a/compiler_wrapper/compiler_wrapper.go
+++ b/compiler_wrapper/compiler_wrapper.go
@@ -78,8 +78,9 @@
rusageEnabled := isRusageEnabled(env)
- // Disable goma for rusage logs
- allowGoma := !rusageEnabled
+ // Disable CCache for rusage logs
+ // Note: Disabling Goma causes timeout related INFRA_FAILUREs in builders
+ allowGoma := true
allowCCache := !rusageEnabled
workAroundKernelBugWithRetries := false