]> granicus.if.org Git - clang/commit
[CUDA] Make CUDAInstallationDetector take the host triple in its constructor.
authorJustin Lebar <jlebar@google.com>
Thu, 5 Jan 2017 16:52:11 +0000 (16:52 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 5 Jan 2017 16:52:11 +0000 (16:52 +0000)
commitc3d7a361772efa7e70bc256740d0f637e07a4f49
tree05d21d20db968f2304e3a649e3158fe2dcdde542
parent15128fbc1ca9faa41ec780756662930bb264e9a5
[CUDA] Make CUDAInstallationDetector take the host triple in its constructor.

Summary:
Previously it was taking the true target triple, which is not really
what it needs: The location of the CUDA installation depends on the host
OS.

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28319

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291130 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h