<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/54183>54183</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Backport "Add cmake to source release tarballs" to 14.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          mati865
      </td>
    </tr>
</table>

<pre>
    Could https://github.com/llvm/llvm-project/commit/32a0482a65b86cf0d84ea7e784cca9852df5c67c be backported to 14.x ?
I think it's rather critical because without it trying to build various LLVM projects from tarballs fails with errors like:
```
CMake Error at D:/Projekty/msys2/MINGW-packages/mingw-w64-clang/src/compiler-rt/CMakeLists.txt:31 (include):
  include could not find requested file:

    SetPlatformToolchainTools


CMake Error at D:/Projekty/msys2/MINGW-packages/mingw-w64-clang/src/compiler-rt/cmake/base-config-ix.cmake:9 (include):
  include could not find requested file:

    ExtendPath
```

First noticed it with LLVM 14 RC1 but seeing the fix was in the works I though it would be fixed with RC2. It's not the case though and IIUC backporting that commit should fix building from tarballs for the next RC/release.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9VMlu2zAQ_RrpMrCg1ZYPOjhOUhhIiqDrmSJHEmtKdEkqdv6-Q3ppUfRSoCggkBxy5s32Rq0Wb81Wz0rA4NzBRsUmyh_p66Ub5jbheiRBqdfrtjgY_Q25I5HeRukPRc7Sss7ZsmrrJe9SUZfIVriqS87Zuq5y0VV8ueLQIrSM7w_aOBTgNGRlcoKoeIzS-yjd7MANctqDB11ZMMwNaIAb6SRniqw5my3CkULTsyM1cOZNTr1HamdJObwyI_Vs4enpyzNcIrXQGT2CY6ZlSpHEJK0eBNAYbSwouUefeAgiWqaXL4jbZ7ZHePCKwBzcnwv04qH37o2Oo32zOe3Pu_fvvi4OlB7r0foHiuy4OC7LBVds6unGGn4u20EqNAvjaxfwn6R1NnEnR-hFBlFey4mrWWCUr2-BAVwugYd-TdpBJycBBr_PaH1FO8L9mcjFCuAjuhfFXKfN-ElrxQcmJ3-wvyr-n3T5SPi0t8ziguupk_1CnpLzdbFZ__PcH04OJ_FCVPpje8_rozTWeVDJCYl4FdgRSJSV8GGbEb0cWMRAtgHJ2QmOzFJUQTxqs7fg6avnfggAIcw2aBJkwPuwzRPYnbntE_CWnOpwNWOUz273eXubkbM3asN50sAOAdU7D3T3779xm9rmYSc8OfJHhTaokHwksWgKsS7WLHbSKWzuLj6o4PlGCAgd8INk9Ww4wsXuBk1q14GNZ6Oav_5bSGvnQJSqzOoiHpqM5SLl6yxt24x1JQrGeCGwrCvsClaKWLEWlW2i6i6q7mPZ5Gmep0Va5FmW5aukrNOsLEqBYt2mbceiMsWRZjvxjhNt-tg0IYZ27i09qjBkt0dmrewnxCs-m6kNphmZk_WyikO4TYj1B2twrA8">