Automated rollback of commit
*** Reason for rollback ***
We upgraded MSVC to 2019 on CI, this is no longer an issue with -c opt
*** Original change description ***
Temporarily disable -c opt for building Bazel binaries on Windows
Due to
RELNOTES: None
@@ -44,9 +44,8 @@ platforms:
build_flags:
- "--copt=-w"
- "--host_copt=-w"
- # TODO(pcloudy): Disable opt build due to https://github.com/bazelbuild/bazel/issues/16225
- # - "-c"
- # - "opt"
+ - "-c"
+ - "opt"
build_targets:
- "//src:bazel.exe"
- "//src:bazel_nojdk.exe"
@@ -54,9 +53,8 @@ platforms:
build_flags:
- "--copt=-w"
- "--host_copt=-w"
- # TODO(pcloudy): Disable opt build due to https://github.com/bazelbuild/bazel/issues/16225
- # - "-c"
- # - "opt"
+ - "-c"
+ - "opt"
- "--cpu=x64_arm64_windows"
build_targets:
- "//src:bazel.exe"
