================
@@ -1063,10 +1063,18 @@ void CudaToolChain::AddClangSystemIncludeArgs(const
ArgList &DriverArgs,
if (DriverArgs.hasFlag(options::OPT_offload_inc, options::OPT_no_offload_inc,
true) &&
- CudaInstallation.isValid())
+ CudaInstallation.isValid()) {
+ StringRef IncludePath = CudaInstallation.getIncludePath();
CC1Args.append(
- {"-internal-isystem",
- DriverArgs.MakeArgString(CudaInstallation.getIncludePath())});
+ {"-internal-isystem", DriverArgs.MakeArgString(IncludePath)});
+
+ // From CUDA 13.0 on, libcu++, CUB and Thrust are in include/cccl, and some
----------------
jhuber6 wrote:
That seems reasonable, but I'd need to double check. We should probably just
copy what's used for other, similar headers.
https://github.com/llvm/llvm-project/pull/235910
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits