From 0a7d3300b6aa49c2be8849e9de00150f4e318798 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Sun, 5 Jan 2025 16:07:09 +0000 Subject: [PATCH 1/2] ci/coverge: Use RBE for report Signed-off-by: Ryan Northey --- .bazelrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 180ef0d0e4e5..075ecf3e164d 100644 --- a/.bazelrc +++ b/.bazelrc @@ -247,7 +247,7 @@ build:coverage --cxxopt="-DENVOY_CONFIG_COVERAGE=1" build:coverage --test_env=HEAPCHECK= build:coverage --combined_report=lcov build:coverage --strategy=TestRunner=remote,sandboxed,local -build:coverage --strategy=CoverageReport=sandboxed,local +# build:coverage --strategy=CoverageReport=sandboxed,local build:coverage --experimental_use_llvm_covmap build:coverage --experimental_generate_llvm_lcov build:coverage --experimental_split_coverage_postprocessing From e8e2e4d4506df3d7e40c8f6217eedb527611c990 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Sun, 5 Jan 2025 16:28:04 +0000 Subject: [PATCH 2/2] .bazelrc Signed-off-by: Ryan Northey --- .bazelrc | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.bazelrc b/.bazelrc index 075ecf3e164d..7b41b402db89 100644 --- a/.bazelrc +++ b/.bazelrc @@ -247,7 +247,7 @@ build:coverage --cxxopt="-DENVOY_CONFIG_COVERAGE=1" build:coverage --test_env=HEAPCHECK= build:coverage --combined_report=lcov build:coverage --strategy=TestRunner=remote,sandboxed,local -# build:coverage --strategy=CoverageReport=sandboxed,local +# build:coverage --strategy=CoverageReport=remote,sandboxed,local build:coverage --experimental_use_llvm_covmap build:coverage --experimental_generate_llvm_lcov build:coverage --experimental_split_coverage_postprocessing @@ -271,25 +271,25 @@ build:fuzz-coverage --test_tag_filters=-nocoverage build:cache-local --remote_cache=grpc://localhost:9092 # Remote execution: https://docs.bazel.build/versions/master/remote-execution.html -build:rbe-toolchain --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 -build:rbe-toolchain --incompatible_enable_cc_toolchain_resolution=false - -build:rbe-toolchain-clang --config=rbe-toolchain -build:rbe-toolchain-clang --platforms=@envoy//bazel/rbe/toolchains:rbe_linux_clang_platform -build:rbe-toolchain-clang --host_platform=@envoy//bazel/rbe/toolchains:rbe_linux_clang_platform -build:rbe-toolchain-clang --crosstool_top=@envoy//bazel/rbe/toolchains/configs/linux/clang/cc:toolchain -build:rbe-toolchain-clang --extra_toolchains=@envoy//bazel/rbe/toolchains/configs/linux/clang/config:cc-toolchain -build:rbe-toolchain-clang --action_env=CC=clang --action_env=CXX=clang++ - -build:rbe-toolchain-clang-libc++ --config=rbe-toolchain -build:rbe-toolchain-clang-libc++ --platforms=@envoy//bazel/rbe/toolchains:rbe_linux_clang_libcxx_platform -build:rbe-toolchain-clang-libc++ --host_platform=@envoy//bazel/rbe/toolchains:rbe_linux_clang_libcxx_platform -build:rbe-toolchain-clang-libc++ --crosstool_top=@envoy//bazel/rbe/toolchains/configs/linux/clang_libcxx/cc:toolchain -build:rbe-toolchain-clang-libc++ --extra_toolchains=@envoy//bazel/rbe/toolchains/configs/linux/clang_libcxx/config:cc-toolchain -build:rbe-toolchain-clang-libc++ --action_env=CC=clang --action_env=CXX=clang++ -build:rbe-toolchain-clang-libc++ --action_env=CXXFLAGS=-stdlib=libc++ -build:rbe-toolchain-clang-libc++ --action_env=LDFLAGS=-stdlib=libc++ -build:rbe-toolchain-clang-libc++ --define force_libcpp=enabled +common:rbe-toolchain --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 +common:rbe-toolchain --incompatible_enable_cc_toolchain_resolution=false + +common:rbe-toolchain-clang --config=rbe-toolchain +common:rbe-toolchain-clang --platforms=@envoy//bazel/rbe/toolchains:rbe_linux_clang_platform +common:rbe-toolchain-clang --host_platform=@envoy//bazel/rbe/toolchains:rbe_linux_clang_platform +common:rbe-toolchain-clang --crosstool_top=@envoy//bazel/rbe/toolchains/configs/linux/clang/cc:toolchain +common:rbe-toolchain-clang --extra_toolchains=@envoy//bazel/rbe/toolchains/configs/linux/clang/config:cc-toolchain +common:rbe-toolchain-clang --action_env=CC=clang --action_env=CXX=clang++ + +common:rbe-toolchain-clang-libc++ --config=rbe-toolchain +common:rbe-toolchain-clang-libc++ --platforms=@envoy//bazel/rbe/toolchains:rbe_linux_clang_libcxx_platform +common:rbe-toolchain-clang-libc++ --host_platform=@envoy//bazel/rbe/toolchains:rbe_linux_clang_libcxx_platform +common:rbe-toolchain-clang-libc++ --crosstool_top=@envoy//bazel/rbe/toolchains/configs/linux/clang_libcxx/cc:toolchain +common:rbe-toolchain-clang-libc++ --extra_toolchains=@envoy//bazel/rbe/toolchains/configs/linux/clang_libcxx/config:cc-toolchain +common:rbe-toolchain-clang-libc++ --action_env=CC=clang --action_env=CXX=clang++ +common:rbe-toolchain-clang-libc++ --action_env=CXXFLAGS=-stdlib=libc++ +common:rbe-toolchain-clang-libc++ --action_env=LDFLAGS=-stdlib=libc++ +common:rbe-toolchain-clang-libc++ --define force_libcpp=enabled build:rbe-toolchain-asan --config=clang-asan build:rbe-toolchain-asan --linkopt -fuse-ld=lld