bazel-contrib / bazel-contrib/rules_cuda

rules_cuda ignores `external_includes` field in compilation context

Open
#266 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Starlark
Stars
122
Forks
73
Avg merge
7h 34m
Merged PRs (30d)
7

Description

`external_includes` was added in ~7.0.0 and rules_cuda ignore that field when merging CcInfos, which has the annoying effect that some deps are not made available to the compiler.

This is a placeholder to reference the issue in the code, and maybe propose a fix later.

Contributor guide

Open the contributing guide

Research direction

Locate the rules_cuda code that merges CcInfos and inspect how external_includes is handled. Compare the compilation context behavior with the Bazel version where external_includes was added, then identify a regression test that demonstrates dependencies reaching the compiler. Done means the affected dependencies are available during compilation and the behavior is covered by a test.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.