[clang] [Clang][NFC] Introduce `gpulib` positive flag for `nogpulib` (PR #126567)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 10:34:40 PST 2025
https://github.com/Artem-B commented:
I agree that we should be able to negate the option (and, perhaps --nocudainc, as well, while we're at that)
That said, perhaps we should reconsider how we implement it.
Originally `-nogpulib` was modeled after `-nostdlib`. So we've got a single-dash option, and no way to undo it.
Now that we do want to undo it, perhaps we should make it a normal double-dash offloading option. and alias `-nogpulib` to the negative variant of it? WDYT?
https://github.com/llvm/llvm-project/pull/126567
More information about the cfe-commits
mailing list