Skip to content

Commit

Permalink
Update to Bazel 7 (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewfuentes committed Mar 9, 2024
1 parent 8f09c9d commit 88689a3
Show file tree
Hide file tree
Showing 9 changed files with 1,548 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .bazeliskrc
@@ -1 +1 @@
USE_BAZEL_VERSION=6.4.0
USE_BAZEL_VERSION=7.0.2
15 changes: 10 additions & 5 deletions .bazelrc
@@ -1,12 +1,17 @@

build --strip=never
build --config=clang
build --crosstool_top=//toolchain:cpp_suite
build --define use_fast_cpp_protos=true
build --config=python-3.10
build:clang --compiler=clang
build:gcc --compiler=gcc-11
build:gcc-10 --compiler=gcc-10
build --config=clang
build:clang --platforms=//toolchain:clang_x86_64
build:gcc --platforms=//toolchain:gcc11_x86_64
build:gcc-10 --platforms=//toolchain:gcc10_x86_64

build:python-3.8 --@rules_python//python/config_settings:python_version=3.8.10
build:python-3.10 --@rules_python//python/config_settings:python_version=3.10

# These flags are here while bugs in Bazel 7 get figured out
# https://github.com/bazelbuild/rules_foreign_cc/issues/1129
build --noincompatible_sandbox_hermetic_tmp
# https://github.com/bazelbuild/rules_python/issues/1675
build --noenable_bzlmod
6 changes: 6 additions & 0 deletions MODULE.bazel
@@ -0,0 +1,6 @@
###############################################################################
# Bazel now uses Bzlmod by default to manage external dependencies.
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################

0 comments on commit 88689a3

Please sign in to comment.