| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| module(name = "fluss_cpp_consumer_build") |
| |
| bazel_dep(name = "rules_cc", version = "0.2.14") |
| bazel_dep(name = "fluss-cpp", version = "0.1.0") |
| |
| # Local override for repository-local validation only. |
| local_path_override( |
| module_name = "fluss-cpp", |
| # Repository root path (the directory containing `bindings/cpp`). |
| path = "../../../../../", |
| ) |
| |
| fluss_cpp = use_extension("@fluss-cpp//bindings/cpp/bazel/cpp:deps.bzl", "cpp_sdk") |
| fluss_cpp.config( |
| mode = "build", |
| protobuf_version = "3.25.5", |
| arrow_cpp_version = "19.0.1", |
| ep_cmake_ranlib = "/usr/bin/ranlib", |
| ep_cmake_ar = "/usr/bin/ar", |
| ep_cmake_nm = "/usr/bin/nm", |
| ) |
| use_repo(fluss_cpp, "apache_arrow_cpp") |