<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60461>60461</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
libc apparently superfluous option for SCUDO
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
liam-clink
</td>
</tr>
</table>
<pre>
In the website [documentation](https://libc.llvm.org/full_host_build.html) for building libc, this command is given to configure it properly.
```
cmake ../llvm \
-G Ninja \ # Generator
-DLLVM_ENABLE_PROJECTS="clang;libc;lld;compiler-rt" \ # Enabled projects
-DCMAKE_BUILD_TYPE=<Debug|Release> \ # Select build type
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_LIBC_FULL_BUILD=ON \ # We want the full libc
-DLLVM_LIBC_INCLUDE_SCUDO=ON \ # Include Scudo in the libc
-DCOMPILER_RT_BUILD_SCUDO_STANDALONE_WITH_LLVM_LIBC=ON \
-DCOMPILER_RT_BUILD_GWP_ASAN=OFF \
-DCOMPILER_RT_SCUDO_STANDALONE_BUILD_SHARED=OFF \
-DCMAKE_INSTALL_PREFIX=<SYSROOT> # Specify a sysroot directory
```
However, upon doing this, apparently one of the options is not used, is this deprecated or new and not fleshed out? Or just not supposed to be there?
```
CMake Warning:
Manually-specified variables were not used by the project:
LLVM_LIBC_INCLUDE_SCUDO
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0lN9u4joQxp_G3IxAwWmgveAC8meXc1KogJ7uXkVOPIC7jh3ZTive_shJSlu1G6GgeOzPP8_4G2atOCnEBYlWJEpGrHVnbRZSsHpcSaH-jErNL4u1AndGeMXSCodAohXXVVujcswJrUiUEHp7dq6xJFwSmhGaSVFWEylf6ok2J0KzYytlcdbWFWUrJJ-cXS0JvYOjNtCNCHUCv4jQGNxZWKh0XTPFQVg4iRdU4DRUWh3FqTU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