Skip to content

Commit

Permalink
Tune Bazel for GCB. Set parallelism and memory limits.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 597110873
  • Loading branch information
jnthntatum authored and copybara-github committed Jan 10, 2024
1 parent e56f47c commit 749e61a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ steps:
- '--distdir=/bazel-distdir'
- '--show_timestamps'
- '--test_tag_filters=-benchmark'
- '--jobs=HOST_CPUS*.5'
- '--local_ram_resources=HOST_RAM*.4'
id: gcc-9
waitFor: ['-']
- name: 'gcr.io/cel-analysis/gcc-9:latest'
Expand All @@ -26,6 +28,8 @@ steps:
- '--distdir=/bazel-distdir'
- '--show_timestamps'
- '--test_tag_filters=-benchmark'
- '--jobs=HOST_CPUS*.5'
- '--local_ram_resources=HOST_RAM*.4'
id: clang-11
waitFor: ['-']
timeout: 1h
Expand Down

0 comments on commit 749e61a

Please sign in to comment.