Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/codelabs/grpc-cpp-opentelemetry/bazel-*
17 changes: 9 additions & 8 deletions codelabs/grpc-cpp-opentelemetry/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
# 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
common --enable_workspace=true

# for platform-appropriate cxxopts
common --enable_platform_specific_config

build:windows --cxxopt='/std:c++14'
build:windows --host_cxxopt='/std:c++14'
build:linux --cxxopt='-std=c++14'
build:linux --host_cxxopt='-std=c++14'
build:macos --cxxopt='-std=c++14'
build:macos --host_cxxopt='-std=c++14'
build:freebsd --cxxopt='-std=c++14'
build:freebsd --host_cxxopt='-std=c++14'
build:windows --cxxopt='/std:c++17'
build:windows --host_cxxopt='/std:c++17'
build:linux --cxxopt='-std=c++17'
build:linux --host_cxxopt='-std=c++17'
build:macos --cxxopt='-std=c++17'
build:macos --host_cxxopt='-std=c++17'
build:freebsd --cxxopt='-std=c++17'
build:freebsd --host_cxxopt='-std=c++17'

# TODO(yashkt): Remove these once upb is upgraded to 25.x or later
build:linux --copt=-Wno-typedef-redefinition
Expand Down
4 changes: 2 additions & 2 deletions codelabs/grpc-cpp-opentelemetry/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "com_github_grpc_grpc",
strip_prefix = "grpc-1.65.5",
strip_prefix = "grpc-1.76.0",
urls = [
"https://github.com/grpc/grpc/archive/v1.65.5.tar.gz",
"https://github.com/grpc/grpc/archive/v1.76.0.tar.gz",
],
)

Expand Down