From: Jonas Hahnfeld Date: Mon, 5 Feb 2018 18:19:40 +0000 (+0000) Subject: [Options] Make --cuda-path-ignore-env a Flag, NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9658e036b90bc92b86c96a213d89fe87475701db;p=clang [Options] Make --cuda-path-ignore-env a Flag, NFCI. This option doesn't take an argument! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@324259 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 78202ce7cb..f44f2d1bb0 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -556,7 +556,7 @@ def no_cuda_version_check : Flag<["--"], "no-cuda-version-check">, def no_cuda_noopt_device_debug : Flag<["--"], "no-cuda-noopt-device-debug">; def cuda_path_EQ : Joined<["--"], "cuda-path=">, Group, HelpText<"CUDA installation path">; -def cuda_path_ignore_env : Joined<["--"], "cuda-path-ignore-env">, Group, +def cuda_path_ignore_env : Flag<["--"], "cuda-path-ignore-env">, Group, HelpText<"Ignore environment variables to detect CUDA installation">; def ptxas_path_EQ : Joined<["--"], "ptxas-path=">, Group, HelpText<"Path to ptxas (used for compiling CUDA code)">;