<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/116336>116336</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
cmake config error "name too long"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
L00pZBreak3r
</td>
</tr>
</table>
<pre>
Configuring the llvm-project with `cmake -G ninja` gives error
```
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- Configuring done (47.9s)
CMake Error:
Running
'F:/Qt/ninja/ninja.exe' '-C' 'F:/Qt/llvm-project.build/build' '-t' 'restat' 'build.ninja' 'F:/Qt/llvm-project.build/build/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/Demangle/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/Support/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/Support/BLAKE3/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/lib/TableGen/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/utils/TableGen/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/utils/TableGen/Basic/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/utils/TableGen/Common/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/CodeGen/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/IR/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/Support/cmake_install.cmake' 'F:/Qt/llvm-project.build/build/include/llvm/Frontend/cmake_install.cmake' ... (EXTREMELY LONG LINE)
failed with:
name too long
-- Generating done (64.3s)
CMake Generate step failed. Build files cannot be regenerated correctly.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8lV1v6jgQhn-NczMiShwS4CIXfCQcdDhtl6LVdm-QkwzBrWMj22m3_36Vj1K6XVWqBEdCShy_fjxjD-8wY3gpEWMSzki4cFhtD0rHa887_j3TyJ4C7WSqeI3nSu55WWsuS7AHBCGeq8FRq0fMLbxwewASeXnFnhAGS5BcPjISeVDyZzSAWitNvAXxpiTy-l87HAzgDvVe6aoBb9FY-DH9M9ndb5Pp4mE3X9_Of8JgAKbOczTm60V32x-bZLrYTdN0dbPaPjQL94wLLMAqyFV15AJPiPOMCiURCB0PR-7EEDrpRPNfTTpJG3ww7b4BbGopuSz7dLqPhI7SRkLTPyyhaZd-_3TxHyR01GgG8_7lXHx-km5Wc1EQmvbPbpXtXzQay94GrcLtd_oWNG2vacelsUwItx19FyF4Rmi6wIrJUuAlmff18ai0vQ5ytp7-TIJLsrcsE7hEeRlmbbkwv4M6Y4bnV6PPVVWpCwXPZS7q4kIl9g5rZFdizlVxubv7RF9trgS-6B_vEz3VSlqUX9iP67qNBSd_bTfJr2T9AOvbmyWsVzfJyZDfLLg39abtnIz5bQ4kqxCsUiDUR5c-Of8SJWpmz40_GrrBf42_lyEYi8d-TxdmTYaw5wIN5ExKZSFD0Fj26gJypTXmVry6_9vynCIOikkwYQ7G_ijwo3BMJ6FziPeYTxBHQTYZeswPvALHNCr2FAPme8MsdHhMPTr0fT_0xr4fhG7G8lERRpEXjaPxqAjI0MOKceE2h-4qXTrcmBpj34-CIHIEy1CYttVTKvEF2llCadP5ddxeaFaXhgw9wY017xjLrcC4a-952ze7ng4N6MN5U-rUWsQHa4-mKxZC05LbQ525uareC-K8fJqCaUJpbKSP9Tmm_wYAAP__m9S7Rg">