summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCUDACompiler.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Detect implicit link information on WindowsBrad King2017-01-121-1/+9
| | | | | The `nvcc -v` output on Windows uses response files, so load the one we need to extract the full link line.
* CUDA: Find MSVC binutils on WindowsBrad King2017-01-121-3/+7
| | | | | On Windows the host link launcher is just `link.exe`. Find and use that instead of trying to extract the launcher from the `nvcc -v` output.
* CUDA: Detect MSVC architecture idBrad King2017-01-121-0/+4
|
* CUDA: Implement nvcc implicit link line extraction more robustlyBrad King2016-12-131-23/+54
| | | | | | | | | | | | | | Do not assume that the implicit link line is the last line of the output from `nvcc -v`. Instead first find the `LIBRARIES=` line, and then look for that content on a later line. It appears twice. First on a call to `nvlink`, which we ignore. Later it appears on the implicit link line. Extract the latter line. On failure, abort with a `FATAL_ERROR` so that the user does not try to build without proper link information. Once we have the line, parse it with `separate_arguments` using the `UNIX_COMMAND` option just like `CMakeParseImplicitLinkInfo` already does. This robustly parses the command line and removes quoting. Then extract the first argument as the host link launcher.
* CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX.Robert Maynard2016-11-141-1/+18
|
* CUDA: Use the host compiler for linking CUDA executables and shared libs.Robert Maynard2016-11-141-5/+37
|
* CUDA: add support for specifying an explicit host compiler.Robert Maynard2016-11-141-1/+12
|
* CUDA: We now properly perform CUDA compiler identification.Robert Maynard2016-11-141-3/+9
|
* CUDA: Add basic CUDA language support for *NIX systems.Robert Maynard2016-11-141-0/+49