Releases: bazel-contrib/rules_cuda
Releases · bazel-contrib/rules_cuda
v0.3.0
Bzlmod
bazel_dep(name = "rules_cc", version = "{rules_cc_version}")
bazel_dep(name = "rules_cuda", version = "v0.3.0")
cuda = use_extension("@rules_cuda//cuda:extensions.bzl", "toolchain")
cuda.toolkit(name = "cuda")
use_repo(cuda, "cuda")Legacy WORKSPACE config
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cc",
sha256 = "{rules_cc_sha256}",
strip_prefix = "rules_cc-{rules_cc_version}",
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/{rules_cc_version}/rules_cc-{rules_cc_version}.tar.gz"],
)
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
compatibility_proxy_repo()
http_archive(
name = "rules_cuda",
sha256 = "e677c40b88f77843587f5b51667ecd402cc7e813fcf879996a9ac0c369e0df24",
strip_prefix = "rules_cuda-v0.3.0",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.3.0/rules_cuda-v0.3.0.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "rules_cuda_dependencies", "rules_cuda_toolchains")
rules_cuda_dependencies()
rules_cuda_toolchains(register_toolchains = True)What's Changed
- refactor!: change for hermetic with minor user interface breaking by @cloudhan in #300
- feat: hermetic ctk with deliverable by @cloudhan in #285
- test: test components for both bzlmod and workspace by @cloudhan in #329
- feat:
load("@rules_cuda_redist_json//:redist.bzl", "rules_cuda_components")by @cloudhan in #286 - refactor: remove use_cpp_toolchain by @udaya2899 in #330
- Fix docstring typo by @keith in #341
- Fix typo in archive_override example by @keith in #340
- Add CcInfo external_includes by @keith in #342
- feat: generate version.json to
<component_name>/version.jsonby @cloudhan in #336 - fix(nvcc): append to
cpp_compilePATHby @lukasoyen in #345 - refactor!: rename @local_cuda as @cuda and @local_cuda_ as @cuda_ by @cloudhan in #343
- feat: automatically detect compiler_executable from registered cc_toolchain by @udaya2899 in #331
- Update deprecated CI runners by @freeform-andre in #356
- fix: allow override opt dbg and fastbuild flags by @cerisier in #363
- fix: minor fix for cuda_binary and cuda_test macros attrs forwarding by @cloudhan in #365
- minor bug fix where rename attrs was not being expanded properly by @AlexandreAmice in #366
- feat: hermetic CUDA clang support by @udaya2899 in #360
- fix: fix clang detection on windows by @cloudhan in #369
- feat: optionally passthrough flags from cpp fragments by @cloudhan in #353
- Rename duplicate cupti_header target by @lgulich in #370
- Shorten
RUNPATHwhen linking to versioned shared libraries by @ryabkovdv in #371 - refactor!: rework hermetic clang by @cloudhan in #375
- refactor: remove components_mapping_compat.attr to stop resolving label during analysis time by @cloudhan in #378
- Import
stubs/*.soas interface libraries by @ryabkovdv in #380 - feat: implement redist_json for bzlmod by @cloudhan in #379
- fix: also add additional_header_deps for @cuda//:cuda by @cloudhan in #381
- feat: add more new archs by @cloudhan in #385
- style: avoid hardcoding typename of type(object) to avoid potential future break by @cloudhan in #384
- refactor: make tpl gen for different local ctk, deliverable ctk and deliverable component straightforward by @cloudhan in #386
- If no components specified, use all components. by @finn-ball in #382
- Export all files from component repo by @finn-ball in #389
- feat: search for the sysroot in compile args in toolchain rule by @cloudhan in #390
- feat: allow specify archs at per-target level by @cloudhan in #394
- feat: improve build reproducibility by removing --generate-line-info by @kirschem-fernride in #406
- fix: make cuda_redist_json components attribute optional by @cloudhan in #411
- fix: add nvtx3 by @cloudhan in #412
- fix: add libcudacxx under cccl by @cloudhan in #413
- fix: auto select all components that is available on the platform by @cloudhan in #414
- feat: add support for CTK 13 by @cloudhan in #410
- Improve clang toolchain discovery, and support hermetic toolchains that don't use built_in_include_directories by @calebzulawski in #421
- feat: add nvcc_fixed_random_seed feature for nvcc based toolchain config by @cloudhan in #374
- Retain cc toolchain flags by @calebzulawski in #419
- add .inc to the allowed cuda hdrs by @AlexandreAmice in #424
- fix: import rules_cc components explicitly by @wep21 in #423
- ci: use bazel 9 lts by @wep21 in #429
- Add empty queryable
cuda_runtimetarget for disabled cuda by @lalten in #405 - feat: support
external_include_pathsfeature in nvcc toolchain by @lalten in #430 - refactor: unify paths collection logic in toolchain configs by @cloudhan in #431
- feat: add ptxas to label by @cloudhan in #432
- fix: fix clang rdc compilation by @cloudhan in #435
- fix: make clang recognize nvvm repo as valid cuda installation by @cloudhan in #433
- fix: dummy nvcc resolution by @cloudhan in #446
- Update docs for v0.3.0 by @cloudhan in #447
- fix: load more rules_cc for bazel 9.x by @wep21 in #450
New Contributors
- @keith made their first contribution in #341
- @freeform-andre made their first contribution in #356
- @cerisier made their first contribution in #363
- @AlexandreAmice made their first contribution in #366
- @lgulich made their first contribution in #370
- @ryabkovdv made their first contribution in #371
- @finn-ball made their first contribution in #382
- @kirschem-fernride made their first contribution in #406
- @calebzulawski made their first contribution in #421
Full Changelog: v0.2.5...v0.3.0
v0.3.0-beta1
Bzlmod
bazel_dep(name = "rules_cc", version = "{rules_cc_version}")
bazel_dep(name = "rules_cuda", version = "v0.3.0-beta1")
cuda = use_extension("@rules_cuda//cuda:extensions.bzl", "toolchain")
cuda.toolkit(name = "cuda")
use_repo(cuda, "cuda")Legacy WORKSPACE config
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cc",
sha256 = "{rules_cc_sha256}",
strip_prefix = "rules_cc-{rules_cc_version}",
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/{rules_cc_version}/rules_cc-{rules_cc_version}.tar.gz"],
)
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
compatibility_proxy_repo()
http_archive(
name = "rules_cuda",
sha256 = "e2706a276216acda3d8f891c5ad43ba4bd213c28bf84542c00a19feed96eb08b",
strip_prefix = "rules_cuda-v0.3.0-beta1",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.3.0-beta1/rules_cuda-v0.3.0-beta1.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "rules_cuda_dependencies", "rules_cuda_toolchains")
rules_cuda_dependencies()
rules_cuda_toolchains(register_toolchains = True)What's Changed
- refactor!: change for hermetic with minor user interface breaking by @cloudhan in #300
- feat: hermetic ctk with deliverable by @cloudhan in #285
- test: test components for both bzlmod and workspace by @cloudhan in #329
- feat:
load("@rules_cuda_redist_json//:redist.bzl", "rules_cuda_components")by @cloudhan in #286 - refactor: remove use_cpp_toolchain by @udaya2899 in #330
- Fix docstring typo by @keith in #341
- Fix typo in archive_override example by @keith in #340
- Add CcInfo external_includes by @keith in #342
- feat: generate version.json to
<component_name>/version.jsonby @cloudhan in #336 - fix(nvcc): append to
cpp_compilePATHby @lukasoyen in #345 - refactor!: rename @local_cuda as @cuda and @local_cuda_ as @cuda_ by @cloudhan in #343
- feat: automatically detect compiler_executable from registered cc_toolchain by @udaya2899 in #331
- Update deprecated CI runners by @freeform-andre in #356
- fix: allow override opt dbg and fastbuild flags by @cerisier in #363
- fix: minor fix for cuda_binary and cuda_test macros attrs forwarding by @cloudhan in #365
- minor bug fix where rename attrs was not being expanded properly by @AlexandreAmice in #366
- feat: hermetic CUDA clang support by @udaya2899 in #360
- fix: fix clang detection on windows by @cloudhan in #369
- feat: optionally passthrough flags from cpp fragments by @cloudhan in #353
- Rename duplicate cupti_header target by @lgulich in #370
- Shorten
RUNPATHwhen linking to versioned shared libraries by @ryabkovdv in #371 - refactor!: rework hermetic clang by @cloudhan in #375
- refactor: remove components_mapping_compat.attr to stop resolving label during analysis time by @cloudhan in #378
- Import
stubs/*.soas interface libraries by @ryabkovdv in #380 - feat: implement redist_json for bzlmod by @cloudhan in #379
- fix: also add additional_header_deps for @cuda//:cuda by @cloudhan in #381
- feat: add more new archs by @cloudhan in #385
- style: avoid hardcoding typename of type(object) to avoid potential future break by @cloudhan in #384
- refactor: make tpl gen for different local ctk, deliverable ctk and deliverable component straightforward by @cloudhan in #386
- If no components specified, use all components. by @finn-ball in #382
- Export all files from component repo by @finn-ball in #389
- feat: search for the sysroot in compile args in toolchain rule by @cloudhan in #390
- feat: allow specify archs at per-target level by @cloudhan in #394
- feat: improve build reproducibility by removing --generate-line-info by @kirschem-fernride in #406
- fix: make cuda_redist_json components attribute optional by @cloudhan in #411
- fix: add nvtx3 by @cloudhan in #412
- fix: add libcudacxx under cccl by @cloudhan in #413
- fix: auto select all components that is available on the platform by @cloudhan in #414
- feat: add support for CTK 13 by @cloudhan in #410
- Improve clang toolchain discovery, and support hermetic toolchains that don't use built_in_include_directories by @calebzulawski in #421
- feat: add nvcc_fixed_random_seed feature for nvcc based toolchain config by @cloudhan in #374
- Retain cc toolchain flags by @calebzulawski in #419
- add .inc to the allowed cuda hdrs by @AlexandreAmice in #424
- fix: import rules_cc components explicitly by @wep21 in #423
- ci: use bazel 9 lts by @wep21 in #429
- Add empty queryable
cuda_runtimetarget for disabled cuda by @lalten in #405 - feat: support
external_include_pathsfeature in nvcc toolchain by @lalten in #430 - refactor: unify paths collection logic in toolchain configs by @cloudhan in #431
- feat: add ptxas to label by @cloudhan in #432
- fix: fix clang rdc compilation by @cloudhan in #435
- fix: make clang recognize nvvm repo as valid cuda installation by @cloudhan in #433
- fix: dummy nvcc resolution by @cloudhan in #446
- Update docs for v0.3.0 by @cloudhan in #447
- fix: load more rules_cc for bazel 9.x by @wep21 in #450
New Contributors
- @keith made their first contribution in #341
- @freeform-andre made their first contribution in #356
- @cerisier made their first contribution in #363
- @AlexandreAmice made their first contribution in #366
- @lgulich made their first contribution in #370
- @ryabkovdv made their first contribution in #371
- @finn-ball made their first contribution in #382
- @kirschem-fernride made their first contribution in #406
- @calebzulawski made their first contribution in #421
Full Changelog: v0.2.5...v0.3.0-beta1
v0.3.0-beta
Bzlmod
bazel_dep(name = "rules_cc", version = "{rules_cc_version}")
bazel_dep(name = "rules_cuda", version = "v0.3.0-beta")
cuda = use_extension("@rules_cuda//cuda:extensions.bzl", "toolchain")
cuda.toolkit(name = "cuda")
use_repo(cuda, "cuda")Legacy WORKSPACE config
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cc",
sha256 = "{rules_cc_sha256}",
strip_prefix = "rules_cc-{rules_cc_version}",
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/{rules_cc_version}/rules_cc-{rules_cc_version}.tar.gz"],
)
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
compatibility_proxy_repo()
http_archive(
name = "rules_cuda",
sha256 = "3309b8c08473ff18360e4b51d056f33af76c0f999c08b83eeef86c1df68173f0",
strip_prefix = "rules_cuda-v0.3.0-beta",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.3.0-beta/rules_cuda-v0.3.0-beta.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "rules_cuda_dependencies", "rules_cuda_toolchains")
rules_cuda_dependencies()
rules_cuda_toolchains(register_toolchains = True)What's Changed
- refactor!: change for hermetic with minor user interface breaking by @cloudhan in #300
- feat: hermetic ctk with deliverable by @cloudhan in #285
- test: test components for both bzlmod and workspace by @cloudhan in #329
- feat:
load("@rules_cuda_redist_json//:redist.bzl", "rules_cuda_components")by @cloudhan in #286 - refactor: remove use_cpp_toolchain by @udaya2899 in #330
- Fix docstring typo by @keith in #341
- Fix typo in archive_override example by @keith in #340
- Add CcInfo external_includes by @keith in #342
- feat: generate version.json to
<component_name>/version.jsonby @cloudhan in #336 - fix(nvcc): append to
cpp_compilePATHby @lukasoyen in #345 - refactor!: rename @local_cuda as @cuda and @local_cuda_ as @cuda_ by @cloudhan in #343
- feat: automatically detect compiler_executable from registered cc_toolchain by @udaya2899 in #331
- Update deprecated CI runners by @freeform-andre in #356
- fix: allow override opt dbg and fastbuild flags by @cerisier in #363
- fix: minor fix for cuda_binary and cuda_test macros attrs forwarding by @cloudhan in #365
- minor bug fix where rename attrs was not being expanded properly by @AlexandreAmice in #366
- feat: hermetic CUDA clang support by @udaya2899 in #360
- fix: fix clang detection on windows by @cloudhan in #369
- feat: optionally passthrough flags from cpp fragments by @cloudhan in #353
- Rename duplicate cupti_header target by @lgulich in #370
- Shorten
RUNPATHwhen linking to versioned shared libraries by @ryabkovdv in #371 - refactor!: rework hermetic clang by @cloudhan in #375
- refactor: remove components_mapping_compat.attr to stop resolving label during analysis time by @cloudhan in #378
- Import
stubs/*.soas interface libraries by @ryabkovdv in #380 - feat: implement redist_json for bzlmod by @cloudhan in #379
- fix: also add additional_header_deps for @cuda//:cuda by @cloudhan in #381
- feat: add more new archs by @cloudhan in #385
- style: avoid hardcoding typename of type(object) to avoid potential future break by @cloudhan in #384
- refactor: make tpl gen for different local ctk, deliverable ctk and deliverable component straightforward by @cloudhan in #386
- If no components specified, use all components. by @finn-ball in #382
- Export all files from component repo by @finn-ball in #389
- feat: search for the sysroot in compile args in toolchain rule by @cloudhan in #390
- feat: allow specify archs at per-target level by @cloudhan in #394
- feat: improve build reproducibility by removing --generate-line-info by @kirschem-fernride in #406
- fix: make cuda_redist_json components attribute optional by @cloudhan in #411
- fix: add nvtx3 by @cloudhan in #412
- fix: add libcudacxx under cccl by @cloudhan in #413
- fix: auto select all components that is available on the platform by @cloudhan in #414
- feat: add support for CTK 13 by @cloudhan in #410
- Improve clang toolchain discovery, and support hermetic toolchains that don't use built_in_include_directories by @calebzulawski in #421
- feat: add nvcc_fixed_random_seed feature for nvcc based toolchain config by @cloudhan in #374
- Retain cc toolchain flags by @calebzulawski in #419
- add .inc to the allowed cuda hdrs by @AlexandreAmice in #424
- fix: import rules_cc components explicitly by @wep21 in #423
- ci: use bazel 9 lts by @wep21 in #429
- Add empty queryable
cuda_runtimetarget for disabled cuda by @lalten in #405 - feat: support
external_include_pathsfeature in nvcc toolchain by @lalten in #430 - refactor: unify paths collection logic in toolchain configs by @cloudhan in #431
- feat: add ptxas to label by @cloudhan in #432
- fix: fix clang rdc compilation by @cloudhan in #435
- fix: make clang recognize nvvm repo as valid cuda installation by @cloudhan in #433
- fix: dummy nvcc resolution by @cloudhan in #446
- Update docs for v0.3.0 by @cloudhan in #447
- fix: load more rules_cc for bazel 9.x by @wep21 in #450
New Contributors
- @keith made their first contribution in #341
- @freeform-andre made their first contribution in #356
- @cerisier made their first contribution in #363
- @AlexandreAmice made their first contribution in #366
- @lgulich made their first contribution in #370
- @ryabkovdv made their first contribution in #371
- @finn-ball made their first contribution in #382
- @kirschem-fernride made their first contribution in #406
- @calebzulawski made their first contribution in #421
Full Changelog: v0.2.5...v0.3.0-beta
v0.2.5
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cuda",
sha256 = "fe8d3d8ed52b9b433f89021b03e3c428a82e10ed90c72808cc4988d1f4b9d1b3",
strip_prefix = "rules_cuda-v0.2.5",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.2.5/rules_cuda-v0.2.5.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()v0.2.4
What's Changed
- fix(bcr): add basic presubmit yaml by @wep21 in #273
- style: new version of buildifier will automatically sort load on format, trigger formatting in one pass by @cloudhan in #275
- replace accesses to cc_toolchain.compiler_executable with calls to cc_toolchain.get_tool_for_action() by @hypdeb in #274
- Add NVRTC to local_cuda by @Vertexwahn in #289
- ci: fix ci due to breaking change in bazel 8 by @cloudhan in #297
- chore: update docs to include v0.2.3 by @cloudhan in #298
- refactor: split monolithic BUILD.local_cuda into template fragments by @cloudhan in #284
- fix: add
:compiler_depstocuda_toolchainby @cloudhan in #301 - feat: add nvjitlink by @cloudhan in #305
- ci: make chatty by @cloudhan in #306
- fix: add culibos to cuda_runtime by @cloudhan in #302
- feat: add nvjpeg by @cloudhan in #304
- feat: add static version cufft (for device callback) by @cloudhan in #303
- feat: add compiler_label attr to cuda_toolchain for in repo compiler executable by @cloudhan in #309
- fix: add rdc filter to cuda_binary by @cloudhan in #310
- feat: add nppi that groups all nppi_* sub-targets with uber header by @cloudhan in #311
- Make stardoc in sync with WORKSPACE usage by @udaya2899 in #312
- fix; Allow cuda_test to specify the
dataattribute. by @bgianfo in #314 - test(refactor): make label of rules_cuda repo targets special handling explicit by @cloudhan in #321
- feat: make sysroot a feature by @cloudhan in #315
- fix(nvcc): append to
cpp_compilePATHby @lukasoyen in #323 - fix(ci): fix ci pipelines prior updating dependency bazel to v8 by @cloudhan in #320
New Contributors
- @wep21 made their first contribution in #273
- @hypdeb made their first contribution in #274
- @udaya2899 made their first contribution in #312
- @bgianfo made their first contribution in #314
- @lukasoyen made their first contribution in #323
Full Changelog: v0.2.3...v0.2.4
v0.2.3
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cuda",
sha256 = "c92b334d769a07cd991b7675b2f6076b8b95cd3b28b14268a2f379f8baae58e0",
strip_prefix = "rules_cuda-v0.2.3",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.2.3/rules_cuda-v0.2.3.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()What's Changed
- Make it clear that "integrity" field expects SRI by @zifeitong in #259
- Fix strip_prefix when publishing to BCR by @jsharpe in #269
New Contributors
- @zifeitong made their first contribution in #259
Full Changelog: v0.2.2...v0.2.3
v0.2.2
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cuda",
sha256 = "b066750579f33e93e9dc55b8ee2067b525d863c1ddcf09b47a6332c39f0701fb",
strip_prefix = "rules_cuda-v0.2.2",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.2.2/rules_cuda-v0.2.2.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()What's Changed
- Filter attrs properly for cuda_test by @cloudhan in #180
- Fix cuda_test by @hofbi in #181
- Add v0.2.1 to docs by @cloudhan in #184
- Pass through
--sysrootto host compiler by @lalten in #185 - Add cuda_binary macro by @cloudhan in #186
- Move non glob files out of glob by @hofbi in #192
- Disallow autoupdate nccl by @cloudhan in #193
- eliminate cpu architecture constraint for clang by @dmellosanjay in #208
- Check nvcc version before adding
--dopt onflags by @cloudhan in #212 - Add alwayslink to cuda_binary and cuda_test macros by @cloudhan in #210
- Add additional tests for LTS releases by @cloudhan in #215
- Fix cquery-ing with cuda targets by @mvukov in #209
- Propose new solution for know issue (nvcc filesystem race condition) by @hofbi in #216
- Fix a typo in
if_cudadoc by @rygx in #222 - Ignore MODULE.bazel.lock file by @rygx in #224
- ci: avoid nvcc /tmp race condition by @cloudhan in #232
- ci: disable doc test workflow cache to avoid excessive space wasting by @cloudhan in #231
- feat: Add features for compiling with -arch=all or -arch=all-major by @jsharpe in #245
- Fix spelling by @Vertexwahn in #250
- Change example rules_cuda version by @Vertexwahn in #249
- Document how to use rules_cuda with Bzlmod by @Vertexwahn in #252
- Do not assume libcupti.so location by @tyb0807 in #253
- ci: use absolute path for XDG_CACHE_HOME as github actions and bazel doesn't resolve
~automatically by @cloudhan in #260 - ci: cover major bazel releases in utilities tests by @cloudhan in #262
- test: workaround label resolving with bzlmod by @cloudhan in #263
- fix(bzlmod): allow both root module and our module to call cuda.local_toolchain by @cloudhan in #264
New Contributors
- @dmellosanjay made their first contribution in #208
- @mvukov made their first contribution in #209
- @rygx made their first contribution in #222
- @Vertexwahn made their first contribution in #250
- @tyb0807 made their first contribution in #253
Full Changelog: v0.2.1...v0.2.2
v0.2.1
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cuda",
sha256 = "2f8c8c8c85f727bec4423efecec12d3b751cb0a98bda99f0f9d351608a23b858",
strip_prefix = "rules_cuda-v0.2.1",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.2.1/rules_cuda-v0.2.1.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()What's Changed
- Fix url for BCR publish app by @jsharpe in #165
- Add cuda_test rule by @hofbi in #168
- chore(deps): update nccl digest to 4365458 by @renovate in #171
- chore(deps): update dependency mkdocs-material to v9.4.2 by @renovate in #173
- chore(deps): update actions/checkout action to v4 by @renovate in #174
- chore(deps): update nccl-tests digest to 6c46206 by @renovate in #172
- Fix cuda test duplicate deps attribute by @hofbi in #176
- Improve RDC by @cloudhan in #167
New Contributors
Full Changelog: v0.2.0...v0.2.1
v0.2.0
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cuda",
sha256 = "1efa8c3e514d8a770a27c7ed968a26ed8ee967ec7d471858da270ab03046a6b4",
strip_prefix = "rules_cuda-v0.2.0",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.2.0/rules_cuda-v0.2.0.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()What's Changed
- Add host compiler flag to device link step by @jordancharest in #65
- Use merge_cc_infos to calculate common flags by @jsharpe in #60
- chore(deps): update dependency bazel to v6.1.0 by @renovate in #68
- chore(deps): update jimver/cuda-toolkit action to v0.2.9 by @renovate in #69
- chore(deps): update dependency bazel to v6.1.1 by @renovate in #70
- chore(deps): update jimver/cuda-toolkit action to v0.2.10 by @renovate in #71
- Add ci docs gen and github pages pub by @cloudhan in #73
- Change building test combination by @cloudhan in #75
- Various fixes to get rules_cuda to work with Lambda-stack by @EthanSteinberg in #74
- Decorate docs by @cloudhan in #76
- chore(deps): update dependency mkdocs-material to v9.1.4 by @renovate in #77
- Stop using ubuntu-18.04 by @cloudhan in #80
- Relax the _check_opts impl by @cloudhan in #79
- chore(deps): update dependency mkdocs-material to v9.1.5 by @renovate in #82
- chore(deps): update dependency mkdocs-material to v9.1.6 by @renovate in #83
- Allow //cuda:copts to be repeatable by @cloudhan in #85
- Fix local docs build hint by @cloudhan in #87
- Allow multiple 'local' installs of cuda to be specified by @jsharpe in #66
- Fix possibly conflict artifact names by @cloudhan in #81
- chore(deps): update dependency bazel to v6.1.2 by @renovate in #89
- chore(deps): update dependency mkdocs-material to v9.1.7 by @renovate in #90
- chore(deps): update dependency mkdocs-material to v9.1.8 by @renovate in #91
- chore(deps): update dependency mkdocs-material to v9.1.9 by @renovate in #92
- Overhaul the URLs to the update new repo by @cloudhan in #93
- chore(deps): update dependency mkdocs-material to v9.1.11 by @renovate in #94
- chore(deps): update dependency bazel to v6.2.0 by @renovate in #95
- chore(deps): update dependency mkdocs-material to v9.1.12 by @renovate in #96
- chore(deps): update dependency io_bazel_stardoc to v0.5.4 by @renovate in #98
- chore(deps): update dependency mkdocs-material to v9.1.13 by @renovate in #97
- chore(deps): update dependency mkdocs-material to v9.1.14 by @renovate in #100
- Slow the renovate bot down by @cloudhan in #101
- chore(deps): update dependency mkdocs-material to v9.1.15 by @renovate in #104
- chore(deps): update dependency io_bazel_stardoc to v0.5.6 by @renovate in #103
- Add NPP by @lalten in #106
- Use windows-2019 for utilities tests by @cloudhan in #112
- add cuda_device_debug feature by @garymm in #108
- Add support for missing archs by @cloudhan in #110
- chore(deps): update dependency mkdocs-material to v9.1.17 by @renovate in #116
- chore(deps): update dependency bazel to v6.2.1 by @renovate in #115
- chore(deps): update dependency bazel_skylib to v1.4.2 by @renovate in #117
- Ignore MODULE.bazel for renovate bot by @cloudhan in #118
- Include versioned so files in cuda_runtime by @garymm in #114
- support toolkit_path in rules_cuda_dependencies by @garymm in #121
- apply some pre-commit fixes by @garymm in #124
- run pre-commit in GitHub check by @garymm in #122
- Format to fix precommit by @cloudhan in #126
- set nvcc --generate-line-info when compilation_mode=fastbuild by @garymm in #120
- upgrade buildifier by @garymm in #127
- have cuda_library output RDC by @garymm in #125
- Fix obvious typo of templates by @cloudhan in #131
- Fix deps of rdc example by @cloudhan in #133
- chore(deps): update dependency mkdocs-material to v9.1.21 by @renovate in #137
- chore(deps): update actions/cache action to v3 by @renovate in #140
- chore(deps): update jimver/cuda-toolkit action to v0.2.11 by @renovate in #138
- chore(deps): update dependency bazel to v6.3.1 by @renovate in #139
- Add flag "--host_copts" to specify global host copts by @noaxp in #141
- Fix _wrapper_device_link artifact name conflict by @cloudhan in #135
- Fix incorrect tools label for _wrapper_device_link by @cloudhan in #134
- The flags
-x c++should be passed ascompile_flags, instead ofhost_compile_flagsby @cloudhan in #132 - Add basic CI testing for clang by @cloudhan in #143
- Fix default dbg and fastbuild optimization level for nvcc by @cloudhan in #129
- Add attr provides for cuda_library and cuda_objects by @Zeratul-Aiur in #147
- chore(deps): update dependency bazel to v6.3.2 by @renovate in #148
- Fix precommit by @cloudhan in #151
- Update stardoc to v0.6.2 manually by @cloudhan in #152
- chore(deps): update dependency mkdocs-material to v9.2.6 by @renovate in #150
- Update bazel_skylib to 1.4.2 by @cloudhan in #155
- Factor out build env preparation by @cloudhan in #156
- Add nccl as an example by @cloudhan in #157
- Let cuda_objects expose transitive objects by @cloudhan in #154
- Add integration test CI pipeline by @cloudhan in #158
- allow .cpp and .cc files in srcs by @garymm in #99
- Improve hermeticity for clang by @cloudhan in #159
- Update matrix versions by @cloudhan in #161
New Contributors
- @jordancharest made their first contribution in #65
- @EthanSteinberg made their first contribution in #74
- @lalten made their first contribution in #106
- @garymm made their first contribution in #108
- @noaxp made their first contribution in #141
- @Zeratul-Aiur made their first contribution in #147
Full Changelog: v0.1.2...v0.2.0
v0.1.2
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cuda",
sha256 = "dc1f4f704ca56e3d5edd973f98a45f0487d0f28c689d0a57ba236112148b1833",
strip_prefix = "rules_cuda-v0.1.2",
urls = ["https://github.com/bazel-contrib/rules_cuda/releases/download/v0.1.2/rules_cuda-v0.1.2.tar.gz"],
)
load("@rules_cuda//cuda:repositories.bzl", "register_detected_cuda_toolchains", "rules_cuda_dependencies")
rules_cuda_dependencies()
register_detected_cuda_toolchains()What's Changed
- chore(deps): update actions/upload-artifact action to v3 by @renovate in #58
- Fix typos and grammar in README.md by @jsharpe in #61
- Add option to add files to the toolchain configuration by @jsharpe in #59
- Initial bzlmod support by @jsharpe in #36
- Allow inl as header suffix. by @liuliu in #62
- Add publish-to-bcr configuration by @jsharpe in #64
New Contributors
Full Changelog: v0.1.1...v0.1.2