bazel-contrib / bazel-contrib/rules_cuda
Flags passed to nvcc for host configuration don't honor cfg
Open
- Dominant language
- Starlark
- Stars
- 122
- Forks
- 73
- Avg merge
- 7h 34m
- Merged PRs (30d)
- 7
Description
The flags passed to the host compilation portion of nvcc don't honor the bazel configured toolchain flags.
Notably `-g` doesn't get propagated to the flags passed to nvcc when building with `-c dbg` and as a result no symbols are found.
Contributor guide
Research direction
Start by tracing how Bazel toolchain flags reach the host-compilation portion of nvcc, focusing on the dbg configuration and the missing -g flag. Confirm the current flag propagation and reproduce the build; done means dbg builds pass -g to nvcc and generated host code contains symbols.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100