tra added a comment.

It appears that what you're trying to do is to add "/usr/lib/cuda" on Ubuntu 
and Debian when --cuda-path=/usr is specified.
This is a rather odd thing to do. In the end only one of those paths will be in 
effect and that's the path that should be specified via --cuda-path. The fact 
that you want to add /usr/cuda/lib in this case suggests that /usr is the wrong 
path and /usr/lib/cuda is the correct one. It sounds like you need to change 
your build system and tell clang the correct path.

I do not think that changing clang to work around an issue in cmake files of 
one project is something we want to do.

There is also an easy workaround. Just download CUDA SDK, install it into a 
local directory and point your build system there. This will work on any linux 
distribution.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55269/new/

https://reviews.llvm.org/D55269



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to