From 56066523d2205d5186621240378d40eb01ed8fd8 Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Fri, 13 Sep 2024 15:47:44 +0200 Subject: [PATCH] Fix build with Bazel@HEAD With WORKSPACE being disabled at HEAD, all dependencies must be specified in MODULE.bazel Fixing https://github.com/google/glog/issues/1127 --- MODULE.bazel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index d415d917d..f3e834184 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -5,3 +5,8 @@ module( bazel_dep(name = "gflags", version = "2.2.2") bazel_dep(name = "googletest", version = "1.14.0", dev_dependency = True) +bazel_dep(name = "platforms", version = "0.0.10") + +# Required for Windows clang-cl build: --extra_toolchains=@local_config_cc//:cc-toolchain-arm64_windows +cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension") +use_repo(cc_configure, "local_config_cc")