================
@@ -0,0 +1,27 @@
+// From CUDA 13.0 on, the CUDA C++ Core Libraries are in include/cccl of the
+// CUDA installation. Check that it is a system include directory, right after
+// include/, for both the device and the host compilation.
+
+// RUN: %clang -### --target=x86_64-unknown-linux-gnu --cuda-gpu-arch=sm_75 \
+// RUN: --cuda-path=%S/Inputs/CUDA_130/usr/local/cuda %s 2>&1 \
+// RUN: | FileCheck %s --check-prefix=CCCL
+
+// CCCL: "-cc1" "-triple" "nvptx64-nvidia-cuda"
+// CCCL-SAME: "-internal-isystem"
"[[CUDA:[^"]*Inputs/CUDA_130/usr/local/cuda]]/include" "-internal-isystem"
"[[CUDA]]/include{{[/\\]+}}cccl"
----------------
carodewig wrote:
Committed for future compatibility! 10cbc1193b32d6f4dba0b685465bef4f0aa11618
https://github.com/llvm/llvm-project/pull/235910
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits