Skip to content

Commit

Permalink
Add attr provides for cuda_library and cuda_objects (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeratul-Aiur authored Aug 30, 2023
1 parent cab1fa2 commit a1b5733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cuda/private/rules/cuda_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,5 @@ cuda_library = rule(
},
fragments = ["cpp"],
toolchains = use_cpp_toolchain() + use_cuda_toolchain(),
provides = [DefaultInfo, OutputGroupInfo, CcInfo, CudaInfo],
)
1 change: 1 addition & 0 deletions cuda/private/rules/cuda_objects.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,5 @@ code and device link time optimization source files.""",
},
fragments = ["cpp"],
toolchains = use_cpp_toolchain() + use_cuda_toolchain(),
provides = [DefaultInfo, OutputGroupInfo, CcInfo, CudaInfo],
)

0 comments on commit a1b5733

Please sign in to comment.