2 Star 3 Fork 0

隐语SecretFlow/heu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
WORKSPACE 2.90 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright 2024 Ant Group Co., Ltd.
#
# Licensed 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.
workspace(name = "com_alipay_sf_heu")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
#### fetch third-party deps ####
load("//third_party/bazel_cpp:repositories.bzl", "heu_cpp_deps")
heu_cpp_deps()
load("@yacl//bazel:repositories.bzl", "yacl_deps")
yacl_deps()
#### for cpp ####
load(
"@rules_foreign_cc//foreign_cc:repositories.bzl",
"rules_foreign_cc_dependencies",
)
rules_foreign_cc_dependencies(
register_built_tools = False,
register_default_tools = False,
register_preinstalled_tools = True,
)
#### for python ####
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
# Python binding.
http_archive(
name = "pybind11_bazel",
sha256 = "dc4882b23a617575d0fd822aba88aa4a14133c3d428b5a8fb83d81d03444a475",
strip_prefix = "pybind11_bazel-8889d39b2b925b2a47519ae09402a96f00ccf2b4",
urls = [
"https://github.com/pybind/pybind11_bazel/archive/8889d39b2b925b2a47519ae09402a96f00ccf2b4.zip",
],
)
# We still require the pybind library.
http_archive(
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
sha256 = "bf8f242abd1abcd375d516a7067490fb71abd79519a282d22b6e4d19282185a7",
strip_prefix = "pybind11-2.12.0",
urls = [
"https://github.com/pybind/pybind11/archive/refs/tags/v2.12.0.tar.gz",
],
)
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
python_configure(name = "local_config_python")
#### for rust ####
http_archive(
name = "rules_rust",
sha256 = "29fee78077bd8c6477bc895a47e6c759f92df0735ed60587e1da7b51f53d26eb",
strip_prefix = "rules_rust-23a4631cad819003642b1a148e458fe4ed2c54e1",
urls = [
# Main branch as of 2021-12-07
"https://github.com/bazelbuild/rules_rust/archive/23a4631cad819003642b1a148e458fe4ed2c54e1.tar.gz",
],
)
load("@rules_rust//rust:repositories.bzl", "rust_repositories")
rust_repositories(version = "1.58.1")
load("//third_party/bazel_rust/cargo:crates.bzl", "rust_fetch_remote_crates")
rust_fetch_remote_crates()
#### for cuda ####
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()
#### for other third-party libs ####
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/secretflow/heu.git
git@gitee.com:secretflow/heu.git
secretflow
heu
heu
main

搜索帮助

Cb406eda 1850385 E526c682 1850385