We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b215f08 commit 27e407dCopy full SHA for 27e407d
1 file changed
cuda/private/redist_json_helper.bzl
@@ -79,7 +79,8 @@ def _collect_specs(ctx, attr, redist, the_url):
79
80
arch = "x86_64" # TODO: support cross compiling
81
platform = "{os}-{arch}".format(os = os, arch = arch)
82
- components = attr.components if attr.components else [k for k, v in FULL_COMPONENT_NAME.items() if v in redist]
+ all_components_on_platform = [k for k, v in FULL_COMPONENT_NAME.items() if v in redist and platform in redist[v]]
83
+ components = attr.components if attr.components else all_components_on_platform
84
85
for c in components:
86
c_full = FULL_COMPONENT_NAME[c]
0 commit comments