Skip to content

Commit

Permalink
bazel: disable uring with compilation database
Browse files Browse the repository at this point in the history
This is a workaround for
envoyproxy#22217 with the downside that
it disables it for all platforms.

Signed-off-by: Keith Smiley <[email protected]>
  • Loading branch information
keith committed Jul 21, 2022
1 parent 82bc6f1 commit e68861b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bazel/foreign_cc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ configure_make(
name = "liburing",
configure_in_place = True,
lib_source = "@com_github_axboe_liburing//:all",
tags = ["skip_on_windows"],
tags = [
"nocompdb",
"skip_on_windows",
],
)

# autotools packages are unusable on Windows as-is
Expand Down
1 change: 1 addition & 0 deletions source/common/io/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ envoy_cc_library(
"io_uring_impl.h",
],
external_deps = ["uring"],
tags = ["nocompdb"],
deps = [
":io_uring_interface",
],
Expand Down
5 changes: 4 additions & 1 deletion test/common/io/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ envoy_package()
envoy_cc_test(
name = "io_uring_impl_test",
srcs = ["io_uring_impl_test.cc"],
tags = ["skip_on_windows"],
tags = [
"nocompdb",
"skip_on_windows",
],
deps = [
"//source/common/io:io_uring_impl_lib",
"//test/mocks/server:server_mocks",
Expand Down

0 comments on commit e68861b

Please sign in to comment.