Skip to content

Commit

Permalink
Fix precommit (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhan authored Sep 1, 2023
1 parent 2f5bbd7 commit 194f0f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module(
name = "rules_cuda",
compatibility_level = 1,
version = "0.0.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.2")
Expand All @@ -14,4 +14,3 @@ register_toolchains(
"@local_cuda//toolchain:nvcc-local-toolchain",
"@local_cuda//toolchain/clang:clang-local-toolchain",
)

14 changes: 9 additions & 5 deletions examples/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
module(
name = "rules_cuda_examples",
compatibility_level = 1,
version = "0.0.0",
compatibility_level = 1,
)

bazel_dep(name = "rules_cuda", version = "0.1.3")
local_path_override(module_name = "rules_cuda", path = "..")
local_path_override(
module_name = "rules_cuda",
path = "..",
)

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

cuda.local_toolchain(name = "local_cuda", toolkit_path = "")

cuda.local_toolchain(
name = "local_cuda",
toolkit_path = "",
)
use_repo(cuda, "local_cuda")

0 comments on commit 194f0f7

Please sign in to comment.