Skip to content

Commit

Permalink
rules_cuda@0.2.1 (#990)
Browse files Browse the repository at this point in the history
* Publish bazel-contrib/rules_cuda@v0.2.1

* Update presubmit.yml

* Update source.json

---------

Co-authored-by: null <null>
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
  • Loading branch information
publish-to-bcr-bot[bot] and jsharpe authored Dec 6, 2023
1 parent 8870d46 commit e9b44bf
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/rules_cuda/0.2.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module(
name = "rules_cuda",
version = "0.2.1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "platforms", version = "0.0.6")

toolchain = use_extension("@rules_cuda//cuda:extensions.bzl", "toolchain")
use_repo(toolchain, "local_cuda")

register_toolchains(
"@local_cuda//toolchain:nvcc-local-toolchain",
"@local_cuda//toolchain/clang:clang-local-toolchain",
)
12 changes: 12 additions & 0 deletions modules/rules_cuda/0.2.1/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_cuda",
- version = "0.0.0",
+ version = "0.2.1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.2")
4 changes: 4 additions & 0 deletions modules/rules_cuda/0.2.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tasks:
verify_targets_linux:
name: Verify build targets
platform: ubuntu2004
9 changes: 9 additions & 0 deletions modules/rules_cuda/0.2.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-L4yMjIX3J77EQj7+zsEtO3UcsKmL2pnw+dNRYIojuFg=",
"strip_prefix": "rules_cuda-v0.2.1",
"url": "https://github.com/bazel-contrib/rules_cuda/releases/download/v0.2.1/rules_cuda-v0.2.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-DI4AkeUmFqAkxmGgxwF+Va/k3tMvjVbz1e1cOCUzr1o="
},
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/rules_cuda/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/bazel-contrib/rules_cuda",
"maintainers": [
{
"email": "james.sharpe@zenotech.com",
"github": "jsharpe",
"name": "James Sharpe"
}
],
"repository": [
"github:bazel-contrib/rules_cuda"
],
"versions": [
"0.2.1"
],
"yanked_versions": {}
}

0 comments on commit e9b44bf

Please sign in to comment.