Skip to content

Commit

Permalink
Removing references to OpenSSL because OpenSSL references break `baze…
Browse files Browse the repository at this point in the history
…l query` for targets that rely on `boost.asio` due to the fact that OpenSSL is not in BCR yet.
  • Loading branch information
Matthew Young committed Jan 13, 2024
1 parent f23063b commit 99d9fd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ load("@bazel_skylib//rules:write_file.bzl", "write_file")
string_flag(
name = "ssl",
visibility = ["//visibility:public"],
values = ["no_ssl", "openssl", "boringssl"],
values = ["no_ssl", "boringssl"], # OpenSSL not in BCR yet.
build_setting_default = "no_ssl",
)

config_setting(name = "no_ssl", flag_values = {":ssl": "no_ssl"})
config_setting(name = "openssl", flag_values = {":ssl": "openssl"})
config_setting(name = "boringssl", flag_values = {":ssl": "boringssl"})

write_file(
Expand Down Expand Up @@ -78,7 +77,6 @@ cc_library(
"@boost.type_traits",
"@boost.utility",
] + select({
":openssl": ["@openssl//:ssl"],
":boringssl": ["@boringssl//:ssl"],
":no_ssl": [],
}),
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "boost.asio",
version = "1.83.0.bzl.3",
version = "1.83.0.bzl.4",
compatibility_level = 108300,
)

Expand Down

0 comments on commit 99d9fd8

Please sign in to comment.