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

    <tr>
        <th>Summary</th>
        <td>
            install fails on non Windows with -DLLVM_BUILD_DOCS=OFF
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    I am building main branch on arm64 (AARCH64) with building docs off.
However, at install step, it fails to install because of win32 not being available.
I can workaround editing cmake_install.cmake and commenting out :
#include("<path-to-your-build-directory>/docs/cmake_install.cmake")
Is this expected ?

For full story, here it is:
https://forums.developer.nvidia.com/t/halide-install-in-jetson-orin/219134/4#h-2-build-llvm-16-2
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUs1u8zYQfBrqspBArWTZOujgz66QAClStGh7DChyZTGhSIM_dv32hRQ1QYHvQmK5y5nZwYgQ9MUSdWz3g-3OmUhxcr57cpYev4nokqRkssGpR_cMYoYhaaO0vcAstIXBCysncBaEn5saGB6Ox99PT03NsIW7jtP3B-VkADeOBeNnxo9P7k438gxPICJoG6IwBkKk6_KkI4xCmwDRffUGkiIFAjfCXdsKwboIAy3Y4ia0EYOhDfwZpLBwd_5DeJesAlI6LoNyFh_0tiEWawXCKpBunsmuIy5FYNXxE4hhpa00SRHDA0Nk1ekq4pRHlz9c8vm6Xa60Jxmdf7DqF4b9sinD_idcCwK2m8YAcdIB6J8ryUgKWNVvpOvZOw9jWj1ZkPEEE3lanNHhS98U43WtsGfYj86nORSKbmTclXxhb1ppUUg3M-wjw34SRivKN1G5tvk7xeBs7ry2DHss27KqGfY1w2rKcVvQmNucl02Omeoq1VatyKgrmz1vm1154NnU1SWOTS0Pe0I1cMVp4PUgsVF7pWTdYKY75IgllhXyXVvzolTI921bjWOtDlw2rOY0C22Khaxw_pLpEBJ1u3bH28yIgUxYU4po6Q5rc_Fzd858twoc0iWwmhsdYvhGiToa6v4L0WeqnAXrLPytrXL38BnU_Pzy8tevbz_-fH45v51fT3-w6vza91nypvu_zRcdpzRsri4825VfvXsnufi8qltCsKr_NwAA___Uohnx">