Skip to content

Commit 323a279

Browse files
authored
[CI] Enable bzlmod (#2995)
1 parent 63fa4fd commit 323a279

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.bazelrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
# bazel configurations for running tests under sanitizers.
55
# Based on https://github.com/bazelment/trunk/blob/master/tools/bazel.rc
66

7-
# TODO: Remove once support is added, avoid MODULE.bazel creation for now
8-
common --enable_bzlmod=false
9-
107
# Enable automatic configs based on platform
118
common --enable_platform_specific_config
129

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module(
1010

1111
bazel_dep(name = "abseil-cpp", version = "20240116.1", repo_name = "com_google_absl")
1212
bazel_dep(name = "bazel_skylib", version = "1.5.0")
13-
bazel_dep(name = "curl", version = "8.4.0")
14-
bazel_dep(name = "grpc", version = "1.62.1", repo_name = "com_github_grpc_grpc")
13+
bazel_dep(name = "curl", version = "8.8.0")
14+
bazel_dep(name = "grpc", version = "1.63.1.bcr.1", repo_name = "com_github_grpc_grpc")
1515
bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "github_nlohmann_json")
1616
bazel_dep(name = "opentelemetry-proto", version = "1.3.1", repo_name = "com_github_opentelemetry_proto")
1717
bazel_dep(name = "opentracing-cpp", version = "1.6.0", repo_name = "com_github_opentracing")

ci/do_ci.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ $nproc = (Get-ComputerInfo).CsNumberOfLogicalProcessors
1111
$SRC_DIR = (Get-Item -Path ".\").FullName
1212

1313
# Workaround https://github.com/bazelbuild/bazel/issues/18683
14-
$BAZEL_STARTUP_OPTIONS = "--output_base=C:\Out"
15-
$BAZEL_OPTIONS = "--copt=-DENABLE_ASYNC_EXPORT"
14+
$BAZEL_STARTUP_OPTIONS = "--output_base=C:\O"
15+
$BAZEL_OPTIONS = "--copt=-DENABLE_ASYNC_EXPORT --compilation_mode=dbg"
1616
$BAZEL_TEST_OPTIONS = "$BAZEL_OPTIONS --test_output=errors"
1717

1818
if (!(test-path build)) {

0 commit comments

Comments
 (0)