1 Star 0 Fork 1

kangkang / xls

forked from mirrors_google / xls 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
WORKSPACE 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
Mark Heffernan 提交于 2020-07-20 08:05 . Add synthesis gRPC interface.
workspace(name = "com_google_xls")
# Load and configure a hermetic LLVM based C/C++ toolchain. This is done here
# and not in load_external.bzl because it requires several sequential steps of
# declaring archives and using things in them, which is awkward to do in .bzl
# files because it's not allowed to use `load` inside of a function.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_grail_bazel_toolchain",
urls = [
"https://github.com/grailbio/bazel-toolchain/archive/f4c17a3ae40f927ff62cc0fb8fe22b1530871807.zip",
],
strip_prefix = "bazel-toolchain-f4c17a3ae40f927ff62cc0fb8fe22b1530871807",
sha256 = "715fd98d566ed1304cb53e0c640427cf0916ec6db89588e3ac2b6a87632276d4",
patches = ["//dependency_support/com_grail_bazel_toolchain:google_workstation_workaround.patch"],
)
load("@com_grail_bazel_toolchain//toolchain:deps.bzl", "bazel_toolchain_dependencies")
bazel_toolchain_dependencies()
load("@com_grail_bazel_toolchain//toolchain:rules.bzl", "llvm_toolchain")
llvm_toolchain(
name = "llvm_toolchain",
llvm_version = "10.0.0",
)
load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")
llvm_register_toolchains()
load("//dependency_support:load_external.bzl", "load_external_repositories")
load_external_repositories()
# gRPC deps should be loaded before initializing other repos. Otherwise, various
# errors occur during repo loading and initialization.
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("//dependency_support:initialize_external.bzl", "initialize_external_repositories")
initialize_external_repositories()
# Loading the extra deps must be called after initialize_eternal_repositories or
# the call to pip_install fails.
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
load("@xls_pip_deps//:requirements.bzl", "pip_install")
pip_install()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/codingkang/xls.git
git@gitee.com:codingkang/xls.git
codingkang
xls
xls
class-implementation

搜索帮助

344bd9b3 5694891 D2dac590 5694891