Skip to content

Commit ffd736c

Browse files
EtiennePerotgvisor-bot
authored andcommitted
Specify --compilation_mode=opt for gVisor runsc releases.
This turns on optimizations for release builds. Detected in [this comment](freedomofpress/dangerzone#590 (comment)). PiperOrigin-RevId: 642076108
1 parent ad8efe2 commit ffd736c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.buildkite/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ steps:
3737
label: ":ship: Release"
3838
if: build.branch == "master" || build.tag != null
3939
commands:
40-
- make BAZEL_OPTIONS=--config=x86_64 artifacts/x86_64
41-
- make BAZEL_OPTIONS=--config=aarch64 artifacts/aarch64
40+
- "make BAZEL_OPTIONS='--config=x86_64 --compilation_mode=opt' artifacts/x86_64"
41+
- "make BAZEL_OPTIONS='--config=aarch64 --compilation_mode=opt' artifacts/aarch64"
4242
- make release RELEASE_NIGHTLY=$$RELEASE_NIGHTLY
4343
- cd repo && gsutil cp -r . gs://gvisor/releases/
4444
- <<: *common

0 commit comments

Comments
 (0)