[PATCH] D146497: libclang: Pass Clang install directory to driver via argv[0].
Jonas Hahnfeld via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 23 01:14:46 PDT 2023
Hahnfeld added a comment.
FYI this commit breaks `clang/test/Index/index-file.cu` for me:
warning: CUDA version 11.8 is only partially supported [-Wunknown-cuda-version]
warning: CUDA version 11.8 is only partially supported [-Wunknown-cuda-version]
/home/jhahnfel/LLVM/src/clang/test/Index/index-file.cu:8:20: error: CHECK-HOST-NOT: excluded string found in input
// CHECK-HOST-NOT: macro definition=__CUDA_ARCH__
^
<stdin>:6218:48: note: found here
// CHECK: __clang_cuda_runtime_wrapper.h:70:9: macro definition=__CUDA_ARCH__ Extent=[70:9 - 70:27]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It //could// be related to the warning about my locally installed CUDA version, but `__CUDA_ARCH__` should really not be defined when compiling for the host. If you have any idea what's going on here, please let me know - I'm a bit puzzled right now...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146497/new/
https://reviews.llvm.org/D146497
More information about the cfe-commits
mailing list