[PATCH] D22518: Refactor how include paths are appended to the command arguments.
    Artem Belevich via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Jul 28 15:18:53 PDT 2016
    
    
  
tra added a comment.
Samuel, the patch breaks CUDA. With the patch clang no longer adds include paths to standard c++ library during device-side compilation.
if you run "clang++ -### -c -x cuda /dev/null" you will see that host side gets `"-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8"` but host-side compilation does not.
https://reviews.llvm.org/D22518
    
    
More information about the cfe-commits
mailing list