r274782 - [CUDA] s/OPT_nocuda_version_chec/OPT_no_cuda_version_check/.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 7 11:24:28 PDT 2016
Author: jlebar
Date: Thu Jul 7 13:24:28 2016
New Revision: 274782
URL: http://llvm.org/viewvc/llvm-project?rev=274782&view=rev
Log:
[CUDA] s/OPT_nocuda_version_chec/OPT_no_cuda_version_check/.
Fix build breakage.
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=274782&r1=274781&r2=274782&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Jul 7 13:24:28 2016
@@ -4725,7 +4725,7 @@ void CudaToolChain::AddCudaIncludeArgs(c
ArgStringList &CC1Args) const {
// Check our CUDA version if we're going to include the CUDA headers.
if (!DriverArgs.hasArg(options::OPT_nocudainc) &&
- !DriverArgs.hasArg(options::OPT_nocuda_version_check)) {
+ !DriverArgs.hasArg(options::OPT_no_cuda_version_check)) {
StringRef Arch = DriverArgs.getLastArgValue(options::OPT_march_EQ);
assert(!Arch.empty() && "Must have an explicit GPU arch.");
CudaInstallation.CheckCudaVersionSupportsArch(StringToCudaArch(Arch));
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=274782&r1=274781&r2=274782&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Jul 7 13:24:28 2016
@@ -11147,7 +11147,7 @@ void NVPTX::Assembler::ConstructJob(Comp
const std::string& gpu_arch = gpu_archs[0];
// Check that our installation's ptxas supports gpu_arch.
- if (!Args.hasArg(options::OPT_nocuda_version_check)) {
+ if (!Args.hasArg(options::OPT_no_cuda_version_check)) {
TC.cudaInstallation().CheckCudaVersionSupportsArch(
StringToCudaArch(gpu_arch));
}
More information about the cfe-commits
mailing list