Llvm-config command

I noticed that llvm-config utility gets built when enabling all projects (-DLLVM_ENABLE_PROJECTS=all).

Later on I freshly rebuild with a few projects enabled (“llvm;mlir;polly;pstl;lld”) and noticed that llvm-config utility is not found.

My question is what are the required projects and runtimes to enable in order to build the llvm-config utility ?

> ninja -t targets | grep install-llvm-config | grep phony
install-llvm-config: phony
install-llvm-config-stripped: phony

I use the ninja generator and in my environment llvm-config is available. I enabled clang;clang-tools-extra;flang .

Thanks for the pointers, I enabled clang and clang-extra-tools ant it seems to work.

Best,