v0.1.0
#rules_cuda Initial Release (v0.1.0)
This release adds support for builds using your local CUDA toolchain. It includes support for both cuda_library
and cuda_objects
rules (see README.md
for more details).
Please try the examples, migrate your builds to use these rules, and provide feedback!
WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cuda",
sha256 = "c03654f2bb3d4b8573c99f0203e8e5f48a1db94c9a1719f04993dcb90b57bc7b",
strip_prefix = "rules_cuda-0.1.0",
url = "https://github.com/bazel-contrib/rules_cuda/archive/refs/tags/v0.1.0.tar.gz",
)
######################
# rules_bazel setup #
######################
# Fetches the rules_bazel dependencies and initializes the cuda toolchain.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()
What's Changed
- eliminate cpu architecture constraint for nvcc by @ryanleary in #8
- add support for some cudax libraries by @ryanleary in #9
- add defensive wiring for header-only libraries by @ryanleary in #11
- Fix typo by @ryanleary in #10
- add agx orin & hopper compute capabilities by @ryanleary in #12
- Add basic CI for utilities by @cloudhan in #13
- Add CI for building by @cloudhan in #14
- Add docs for various rule and macros by @cloudhan in #17
- Merge dlink_wrapper.bzl into dlink.bzl by @cloudhan in #18
- Add internal docstring by @cloudhan in #19
- Add bazelignore file by @jsharpe in #22
- Disable arch_native by default by @jsharpe in #21
- Silence deprecation warning by @jsharpe in #23
- chore: add pre-commit for buildifier/prettier by @ryanleary in #24
- Add CODEOWNERS file by @jsharpe in #28
- Enable tests on pull requests by @jsharpe in #27
- refactor!: make structure consistent w/ rule guidelines by @ryanleary in #25
- Use an older node version in pre-commit for compatibility with older … by @jsharpe in #29
- Move if_linux and if_windows into rules_cuda by @jsharpe in #30
- Build fix by @jsharpe in #33
- Fix flag_alias by @jsharpe in #34
- Set local and configure on local_cuda repository by @jsharpe in #37
- chore(deps): update dependency io_bazel_stardoc to v0.5.3 by @renovate in #41
- chore(deps): update dependency bazel to v5.3.2 by @renovate in #42
- Make examples its own workspace by @jsharpe in #44
- ci: create release automation by @ryanleary in #46
- Setup CI pipeline for testing docs generation by @cloudhan in #49
- Add features for relaxed-constexpr and extended-lambda by @jsharpe in #48
- Make CI eco-friendly by avoiding run pipelines twice on push within PR by @cloudhan in #50
- chore(deps): update dependency bazel to v5.4.0 by @renovate in #52
- chore(deps): update dependency bazel to v6 by @renovate in #53
- Enable rules_cuda by default, add docs by @ryanleary in #54
New Contributors
- @cloudhan made their first contribution in #13
- @jsharpe made their first contribution in #22
- @renovate made their first contribution in #41
Full Changelog: https://github.com/bazel-contrib/rules_cuda/commits/v0.1.0