llvmPackages_rocm.clang: add isClang and llvm passthru

Matches generic clang compilers, and fixes isClang inspection, which
0710308402 depends on for the
`--gcc-toolchain` flag to be set up properly.

Fixes rocm-comgr
This commit is contained in:
Ryan Burns 2021-01-26 02:32:59 -08:00
parent 38e23aeda3
commit 44c46905b9

View File

@ -56,6 +56,11 @@ stdenv.mkDerivation rec {
echo "$VCSVersion" > lib/Basic/VCSVersion.inc
'';
passthru = {
isClang = true;
inherit llvm;
};
meta = with lib; {
description = "ROCm fork of the clang C/C++/Objective-C/Objective-C++ LLVM compiler frontend";
homepage = "https://llvm.org/";