diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 54574c4e..e1a9bba6 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -40,16 +40,16 @@ jobs: repository-cache: true - name: Build project - run: bazel build //... --@clickhouse-cpp-client//:tls=${{ matrix.tls }} + run: bazel build //... --@clickhouse-cpp//:tls=${{ matrix.tls }} - name: Run unit tests - run: bazel test //ut:unit_tests --@clickhouse-cpp-client//:tls=${{ matrix.tls }} --test_output=errors + run: bazel test //ut:unit_tests --@clickhouse-cpp//:tls=${{ matrix.tls }} --test_output=errors # //ut:e2e_tests is tagged `manual`, so `bazel build //...` above # skips it; build it explicitly so the run step below doesn't pay # for compilation under the running-server timeout. - name: Build e2e tests - run: bazel build //ut:e2e_tests --@clickhouse-cpp-client//:tls=${{ matrix.tls }} + run: bazel build //ut:e2e_tests --@clickhouse-cpp//:tls=${{ matrix.tls }} # The e2e suite needs a live server on localhost:9000. Each OS starts # one the same way the CMake build's per-OS workflows do, since hosted @@ -117,4 +117,4 @@ jobs: exit 1 - name: Run e2e tests - run: bazel test //ut:e2e_tests --@clickhouse-cpp-client//:tls=${{ matrix.tls }} --test_output=errors + run: bazel test //ut:e2e_tests --@clickhouse-cpp//:tls=${{ matrix.tls }} --test_output=errors diff --git a/BUILD.bazel b/BUILD.bazel index 93833cdd..cdbb3cab 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -9,8 +9,8 @@ load("@rules_cc//cc:cc_library.bzl", "cc_library") # # Differences from the CMake build that callers should be aware of: # * TLS links against BoringSSL (`@boringssl`) by default; pass -# `--@clickhouse-cpp-client//:tls=openssl` to use the BCR OpenSSL module -# instead, or `--@clickhouse-cpp-client//:tls=no` to disable TLS +# `--@clickhouse-cpp//:tls=openssl` to use the BCR OpenSSL module +# instead, or `--@clickhouse-cpp//:tls=no` to disable TLS # entirely. `USE_BORINGSSL` ifdef-guards the two OpenSSL-only # surfaces (`SSL_CONF_*` command API and `SSL_read_ex`) that # BoringSSL doesn't provide; see clickhouse/base/sslsocket.cpp. @@ -19,9 +19,9 @@ load("@rules_cc//cc:cc_library.bzl", "cc_library") # wire protocol needs ClickHouse's frozen CityHash variant, which # differs from the stock BCR module (see the :cityhash target). -# Selects the TLS implementation: `--@clickhouse-cpp-client//:tls=boringssl` -# (default), `--@clickhouse-cpp-client//:tls=openssl`, or -# `--@clickhouse-cpp-client//:tls=no` to disable TLS entirely (matching +# Selects the TLS implementation: `--@clickhouse-cpp//:tls=boringssl` +# (default), `--@clickhouse-cpp//:tls=openssl`, or +# `--@clickhouse-cpp//:tls=no` to disable TLS entirely (matching # CMake's `WITH_OPENSSL=OFF` default). The two TLS libraries come from # BCR modules and are linked statically, keeping the build hermetic. string_flag( @@ -96,7 +96,7 @@ cc_library( ) # The main clickhouse-cpp library. Downstream callers use -# `#include ` and link `@clickhouse-cpp-client//:clickhouse`. +# `#include ` and link `@clickhouse-cpp//:clickhouse`. cc_library( name = "clickhouse", srcs = glob( diff --git a/MODULE.bazel b/MODULE.bazel index 8a3537fa..b1d7985f 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,4 +1,4 @@ -module(name = "clickhouse-cpp-client", version = "2.6.2") +module(name = "clickhouse-cpp", version = "2.6.2") # Pinned to 20260107.1, the last version that declares # `compatibility_level = 1`, so that the module remains importable on