jlebar added inline comments. ================ Comment at: include/clang/Driver/Options.td:1636 @@ -1635,1 +1635,3 @@ +def nocudalib : Flag<["-"], "nocudalib">, + HelpText<"Don't link with libraries necessary for running CUDA (-L/path/to/cuda/lib{,64} -lcudart_static -lrt -lpthread -ldl)">; def nocudalibdevice : Flag<["-"], "nocudalibdevice">, ---------------- tra wrote: > Implementation details may be different on different platforms. I.e. you may > need to link with different set of libraries if/when we add missing bits for > windows and your help string will make no sense there. > > Specifics should be in the documentation, IMO. > > OK, that's a good reason not to do it in the command-line help.
http://reviews.llvm.org/D15596 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits