Bazel build rules for apache/arrow
Follows a "repos/deps" pattern (in order to help with recursive dependencies). To use:
-
Copy
bazel/repos.bzlinto your repository at3rdparty/bazel-rules-arrow/repos.bzland add an emptyBUILD(orBUILD.bazel) to3rdparty/bazel-rules-arrowas well. -
Copy all of the directories from
3rdpartythat you don't already have in your repository's3rdpartydirectory. -
Add the following to your
WORKSPACE(orWORKSPACE.bazel):
load("//3rdparty/bazel-rules-arrow:repos.bzl", arrow_repos="repos")
arrow_repos()
load("@com_github_3rdparty_bazel_rules_arrow//bazel:deps.bzl", arrow_deps="deps")
arrow_deps()Or ... to simplify others depending on your repository, add the following to your repos.bzl:
load("//3rdparty/bazel-rules-arrow:repos.bzl", arrow_repos="repos")
def repos():
arrow_repos()And the following to your deps.bzl:
load("@com_github_3rdparty_bazel_rules_arrow//bazel:deps.bzl", arrow_deps="deps")
def deps():
arrow_deps()- You can then use
@com_github_apache_arrow//:arrowin your target'sdeps.