Skip to content

Commit

Permalink
Create implicit_cuda_headers_dependency alias in non-hermetic CUDA …
Browse files Browse the repository at this point in the history
…to stay consistent with hermetic CUDA

PiperOrigin-RevId: 691506371
  • Loading branch information
ddunl authored and copybara-github committed Oct 30, 2024
1 parent cda841a commit d9c8655
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion third_party/gpus/cuda/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ cuda_header_library(
],
)

# See comment on identically named target in hermetic/BUILD.tpl. This is here
# to keep users who have still not migrated from hermetic cuda from being
# broken.
alias(
name = "implicit_cuda_headers_dependency",
actual = ":cuda_headers",
)

cc_library(
name = "cudart_static",
srcs = ["cuda/lib/%{cudart_static_lib}"],
Expand Down Expand Up @@ -309,4 +317,4 @@ cc_library(
# This is not yet fully supported, but we need the rule
# to make bazel query happy.
name = "nvjitlink",
)
)

0 comments on commit d9c8655

Please sign in to comment.