title: How do you build all of LLVM?
body: <p>I recently built and installed llvm to my system with the expectation that this would be what is neccessary to build qtcreator: <a href="https://paste.ubuntu.com/p/23GCCS5xxS/" rel="nofollow noreferrer">https://paste.ubuntu.com/p/23GCCS5xxS/</a></p>
  <p>Based on what I saw there, I set the variable as such:</p>
  <pre><code>➜  qt6.2 git:(6.2) ✗ echo $LLVM_INSTALL_DIR
  
  /usr/local/lib/cmake/llvm/
  </code></pre>
  <p>However when configuring Qt6.2, it still gives</p>
  <pre><code>WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
  Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
  </code></pre>
  <p>And from what I understand, when I built llvm, I didn't build Clang with it. Based on <a href="https://clang.llvm.org/get_started.html" rel="nofollow noreferrer">https://clang.llvm.org/get_started.html</a> it gives the following line:</p>
  <pre><code>cmake -DLLVM_ENABLE_PROJECTS=clang -G &quot;Unix Makefiles&quot; ../llvm
  make
  #This builds both LLVM and Clang for debug mode.
  </code></pre>
  <p>Which is frustrating because I now have to build it again, which takes forever.
  I'd just like the command that builds and installs everything from llvm, so I don't have to keep going back to these things. Is that possible?</p>