NVIDIA / NVIDIA/cccl

[BUG]: Fix option parsing with `nvrtcc`

Open
#7,179 0 comments 0 reactions 1 assignee Claimed by @davebayer View on GitHub
nvrtcc
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Currently, we use `argparse` to parse `nvrtcc` and `nvcc` options. However, the original `nvcc`'s options parser is a bit different and the current implementation doesn't support taking options as an argument for another option, for example:
```sh
nvrtcc -Xcompiler -my_option ...
```
fails with `nvrtcc`, but works fine with `nvcc`. There are other problems, too, for example `argparse` does _short options completions_ which `nvcc` doesn't do.

We can either find a different parser or write our own.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.