[PATCH] D15596: Add -L/path/to/cuda/lib if any of our inputs are CUDA files.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 5 13:50:20 PST 2016
jlebar added a comment.
I'm sorry I sat on this for so long; I failed at email somehow, and only came back to ping this patch. :)
================
Comment at: lib/Driver/ToolChains.cpp:4125
@@ +4124,3 @@
+ ArgStringList &LDArgs) const {
+ if (DriverArgs.hasArg(options::OPT_nocudalib) || !CudaInstallation.isValid())
+ return;
----------------
tra wrote:
> We may need a new option as -nocudalib is currently used to disable linking with libdevice bitcode library.
Hm...I don't want to over-complicated the UI. Is there prior art for what we're doing here that we could crib off?
http://reviews.llvm.org/D15596
More information about the cfe-commits
mailing list