Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cuda/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ def _register_redist_components(module_ctx, attr, component_entries):
redist_ver = redist_json_helper.get_redist_version(module_ctx, attr, json_object)

for platform in attr.platforms:
if platform not in SUPPORTED_PLATFORMS:
fail("platform {} not supported. Supported platforms: [{}]".format(platform, ", ".join(SUPPORTED_PLATFORMS)))
component_specs = redist_json_helper.collect_specs(module_ctx, attr, platform, json_object, url)
for spec in component_specs:
repo_name = redist_json_helper.get_repo_name(module_ctx, spec)
Expand Down
Loading