How to Use
In your WORKSPACE.bazel file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pcl",
url = "https://github.com/kgreenek/rules_pcl/archive/refs/tags/pcl-1.13.1-v1.tar.gz",
sha256 = "06d2ed755fbf9ddd30f8bb3ed73f23ee6155d52e742d4e4a278c9458e9a3e17b",
strip_prefix = "rules_pcl-pcl-1.13.1-v1",
)
load("@rules_pcl//bzl:repositories.bzl", "pcl_repositories")
pcl_repositories()
# NOTE: This must be loaded after the call to pcl_repositories().
load("@rules_pcl//bzl:init_deps.bzl", "pcl_init_deps")
pcl_init_deps()
In your top-level BUILD.bazel file:
load("@rules_pcl//bzl:pcl.bzl", "pcl_config")
pcl_config()
Changes
- Change version in generated config header to 1.13.1
- Add all pcl tests, including tests which read data files
- Split out lz4 into multiple targets
- Upgrade flann to latest release
- Minor bug fixes