Skip to content

Commit

Permalink
fix: remove repository name format checking
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhan committed Feb 21, 2025
1 parent 9106b4e commit 496ecfc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cuda/private/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,6 @@ local_cuda = repository_rule(
)

def _cuda_component_impl(repository_ctx):
name_fragments = repository_ctx.name.split("local_cuda_")
if len(name_fragments) != 2 or (name_fragments[0] != "" and not name_fragments[0].endswith("~")):
fail("cuda_component(name='{}') is expected to have a repo name starts with local_cuda_".format(repository_ctx.name))

component_name = None
if repository_ctx.attr.component_name:
component_name = repository_ctx.attr.component_name
Expand Down

0 comments on commit 496ecfc

Please sign in to comment.