Fixed bazel tests for 7 (#35390)
- Fixed the bazel distrib tests with Bazel 7 by disabling bzlmod option. - Added a new note for bzlmod to the doc. Closes #35390 PiperOrigin-RevId: 593816700pull/35392/head
parent
45aecbe355
commit
d8fd0c0844
6 changed files with 19 additions and 0 deletions
@ -1,4 +1,8 @@ |
|||||||
# bazelrc file |
# bazelrc file |
||||||
|
|
||||||
|
# Bazel 7 begins to enable module by default which breaks gRPC build. |
||||||
|
# Therefore, this option is disabled until gRPC works with bzlmod. |
||||||
|
common --enable_bzlmod=false |
||||||
|
|
||||||
build --cxxopt='-std=c++14' |
build --cxxopt='-std=c++14' |
||||||
build --host_cxxopt='-std=c++14' |
build --host_cxxopt='-std=c++14' |
||||||
|
@ -1,4 +1,8 @@ |
|||||||
# bazelrc file |
# bazelrc file |
||||||
|
|
||||||
|
# Bazel 7 begins to enable module by default which breaks gRPC build. |
||||||
|
# Therefore, this option is disabled until gRPC works with bzlmod. |
||||||
|
common --enable_bzlmod=false |
||||||
|
|
||||||
build --cxxopt='-std=c++14' |
build --cxxopt='-std=c++14' |
||||||
build --host_cxxopt='-std=c++14' |
build --host_cxxopt='-std=c++14' |
||||||
|
@ -1,4 +1,8 @@ |
|||||||
# bazelrc file |
# bazelrc file |
||||||
|
|
||||||
|
# Bazel 7 begins to enable module by default which breaks gRPC build. |
||||||
|
# Therefore, this option is disabled until gRPC works with bzlmod. |
||||||
|
common --enable_bzlmod=false |
||||||
|
|
||||||
build --cxxopt='-std=c++14' |
build --cxxopt='-std=c++14' |
||||||
build --host_cxxopt='-std=c++14' |
build --host_cxxopt='-std=c++14' |
||||||
|
Loading…
Reference in new issue