[Clang] Fix not including clangBasic in the dynamic build
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 13 Mar 2023 17:38:04 +0000 (12:38 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Mon, 13 Mar 2023 17:41:16 +0000 (12:41 -0500)
commit1b40df1de7a4b3664a55becd776c250f20db0041
tree6cf1e18a0730f4d6c3142d83a7cd803b3f0bddbd
parent8d8cca05a268ee11b50e2347ba16dfc94260071b
[Clang] Fix not including clangBasic in the dynamic build

Summary:
The previous patch only included the needed library if you had HSA and
CUDA installed. Fix that.
clang/tools/amdgpu-arch/CMakeLists.txt
clang/tools/nvptx-arch/CMakeLists.txt