From 99d9fd8852e01287ccc0ca404e01112b3fccf419 Mon Sep 17 00:00:00 2001 From: Matthew Young Date: Fri, 12 Jan 2024 16:39:52 -0800 Subject: [PATCH] Removing references to OpenSSL because OpenSSL references break `bazel query` for targets that rely on `boost.asio` due to the fact that OpenSSL is not in BCR yet. --- BUILD.bazel | 4 +--- MODULE.bazel | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index f585cc2ac3..61dec16428 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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( @@ -78,7 +77,6 @@ cc_library( "@boost.type_traits", "@boost.utility", ] + select({ - ":openssl": ["@openssl//:ssl"], ":boringssl": ["@boringssl//:ssl"], ":no_ssl": [], }), diff --git a/MODULE.bazel b/MODULE.bazel index dea33f444b..e9205f8cc1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "boost.asio", - version = "1.83.0.bzl.3", + version = "1.83.0.bzl.4", compatibility_level = 108300, )