The docs have 3.8+ as supported, but clang in ndk-14 produces an error (probably due to incorrect parsing)
nvcc fatal : The version ('306280') of the host compiler ('clang') is not supported
clang --version
Android clang version 3.8.275480 (based on LLVM 3.8.275480)
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: <NDK>/toolchains/llvm/prebuilt/linux-x86_64/bin
#define __VERSION__ "4.2.1 Compatible Android Clang 3.8.275480 "
#define __clang_major__ 3
#define __clang_minor__ 8
#define __clang_patchlevel__ 275480
#define __clang_version__ "3.8.275480 "
The latest ndk-15 clang also isn’t supported but I don’t expect it to be anytime soon.
nvcc fatal : The version ('350080') of the host compiler ('clang') is not supported
clang --version
Android clang version 5.0.300080 (based on LLVM 5.0.300080)
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: <NDK>/toolchains/llvm/prebuilt/linux-x86_64/bin
#define __VERSION__ "4.2.1 Compatible Android Clang 5.0.300080 "
#define __clang_major__ 5
#define __clang_minor__ 0
#define __clang_patchlevel__ 300080
#define __clang_version__ "5.0.300080 "