Go to file
Artem Belevich fa11ab53c0 [CUDA] added include paths for both sides of CUDA compilation.
In order to compile a CUDA file clang must be able to find
include files for both both host and device.

This patch passes AuxToolchain to AddPreprocessingOptions and
uses it to add include paths for the opposite side of compilation.

We also must be able to find CUDA include files. If the driver
found CUDA installation, it adds appropriate include path
to CUDA headers. This can be disabled with '-nocudainc'.

- Added include paths for the opposite side of compilation.
- Added include paths to detected CUDA installation.
- Added -nocudainc to prevent adding CUDA include path.
- Added test cases to verify new functionality.

Differential Revision: http://reviews.llvm.org/D13170

llvm-svn: 253386
2015-11-17 22:28:46 +00:00
clang [CUDA] added include paths for both sides of CUDA compilation. 2015-11-17 22:28:46 +00:00
clang-tools-extra modularize: add install rule 2015-11-17 05:09:18 +00:00
compiler-rt [asan] Enable halt_on_error tests on OS X. 2015-11-17 16:34:39 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Fix bad variable name. project_root -> project_obj_root 2015-11-17 21:48:29 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Make it possible to use libunwind without heap. 2015-11-09 06:57:29 +00:00
lld Fixing build failures caused by r253367. Sorry for breaking the build. 2015-11-17 20:48:12 +00:00
lldb Cleanup indentation 2015-11-17 21:55:09 +00:00
llgo debug: Update for debug info API change. 2015-11-05 22:04:20 +00:00
llvm [llvm-profdata] Improve error messaging when merging mismatched profile data 2015-11-17 22:08:53 +00:00
openmp Add newlines to debug TRACE messages in kmp_taskdeps.cpp 2015-11-16 22:53:38 +00:00
polly ScopInfo: Ensure unique names for parameter names coming from load instructions 2015-11-17 11:54:51 +00:00