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:
DavidKorczynski 2023-01-15 12:24:21 +00:00 committed by GitHub
parent 65ca1db619
commit 2e0402ca1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 # 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, # we limit the resources it uses. The RAM will be exhausted. Therefore,
# limit the resources to ensure the build passes. # 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 \ bazel build \
--spawn_strategy=sandboxed \ --spawn_strategy=sandboxed \