Skip to content

Commit

Permalink
Specify --compilation_mode=opt for gVisor runsc releases.
Browse files Browse the repository at this point in the history
This turns on optimizations for release builds.

Detected in [this comment](freedomofpress/dangerzone#590 (comment)).

PiperOrigin-RevId: 642076108
  • Loading branch information
EtiennePerot authored and gvisor-bot committed Jun 11, 2024
1 parent e147703 commit 2904bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ steps:
label: ":ship: Release"
if: build.branch == "master" || build.tag != null
commands:
- make BAZEL_OPTIONS=--config=x86_64 artifacts/x86_64
- make BAZEL_OPTIONS=--config=aarch64 artifacts/aarch64
- "make BAZEL_OPTIONS='--config=x86_64 --compilation_mode=opt' artifacts/x86_64"
- "make BAZEL_OPTIONS='--config=aarch64 --compilation_mode=opt' artifacts/aarch64"
- make release RELEASE_NIGHTLY=$$RELEASE_NIGHTLY
- cd repo && gsutil cp -r . gs://gvisor/releases/
- <<: *common
Expand Down

0 comments on commit 2904bf3

Please sign in to comment.