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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to