mirror of https://github.com/google/oss-fuzz.git
tensorflow: reduce cpu usage further (#9423)
The build on the bots continue to exhaust memory usage as far as I can tell: https://oss-fuzz-build-logs.storage.googleapis.com/log-6f2d0692-4002-45b2-a1f4-01471de13add.txt However, the build is getting further now than before.
This commit is contained in:
parent
65ca1db619
commit
2e0402ca1f
|
@ -143,7 +143,7 @@ TARGETS_TO_BUILD="//tensorflow/core/kernels/fuzzing:all"
|
|||
# The bazel build will exhaust the resources of the OSS-Fuzz build bot unless
|
||||
# we limit the resources it uses. The RAM will be exhausted. Therefore,
|
||||
# limit the resources to ensure the build passes.
|
||||
RESOURCE_LIMITATIONS="--local_ram_resources=HOST_RAM*1.0 --local_cpu_resources=HOST_CPUS*.5 --strip=never"
|
||||
RESOURCE_LIMITATIONS="--local_ram_resources=HOST_RAM*1.0 --local_cpu_resources=HOST_CPUS*.2 --strip=never"
|
||||
|
||||
bazel build \
|
||||
--spawn_strategy=sandboxed \
|
||||
|
|
Loading…
Reference in New Issue