[llvmbuildectomy] Also include component groups in llvm-config --components list
authorMariusz Ceier <mceier+llvm@gmail.com>
Thu, 26 Nov 2020 20:03:22 +0000 (21:03 +0100)
committerserge-sans-paille <sguelton@redhat.com>
Thu, 26 Nov 2020 20:05:56 +0000 (21:05 +0100)
commit1de56d6d13c083c996dfd44a32041dacae037d66
treedad0826869daad22a5a72463dcbabee76b36d58c
parent2245fb8aaa1c1f85f53f7b19a1ee3ac69b1a1dfe
[llvmbuildectomy] Also include component groups in llvm-config --components list

Without this change mesa fails while looking for llvm components like amdgpu, engine or native:

    Run-time dependency LLVM (modules: amdgpu(missing), bitreader, bitwriter, core, engine(missing), executionengine, instcombine, ipo, mcdisassembler, mcjit, native(missing), scalaropts, transformutils, coroutines)
    Looking for a fallback subproject for the dependency llvm (modules: bitwriter, engine, mcdisassembler, mcjit, core, executionengine, scalaropts, transformutils, instcombine, amdgpu, native, bitreader, ipo)

This change adds component groups (like all-targets, engine, native, amdgpu) to the "all" component.

Differential Revision: https://reviews.llvm.org/D92158
llvm/cmake/modules/LLVM-Build.cmake