<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/106490>106490</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Build compiler-rt failed on windows+visual studio
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
YWtheGod
</td>
</tr>
</table>
<pre>
VS 2022 17.11.2+WINDOWS 11 23H2
CMAKE Command Line:
```
"C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -S llvm -B VS22build -DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra;lldb" -DLLVM_TARGETS_TO_BUILD="X86;AArch64;ARM;WebAssembly" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="compiler-rt" -DCMAKE_C_FLAGS="/source-charset:utf-8" -DCMAKE_CXX_FLAGS="/source-charset:utf-8" -DCMAKE_ASM_FLAGS="/source-charset:utf-8" -DLLVM_USE_SANITIZER="Address"
```
when configuring compiler-rt, exception raised:
-- Compiler-RT supported architectures: x86_64
-- check-shadowcallstack does nothing.
-- Configuring done (4.5s)
CMake Error at CMakeLists.txt:269 (add_dependencies):
The dependency target "asan" of target "runtimes-test-depends" does not
exist.
CMake Error at CMakeLists.txt:269 (add_dependencies):
The dependency target "ubsan" of target "runtimes-test-depends" does not
exist.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVF1vqzgQ_TXOiwUCA0l44AEI6WY3aask_bj7Ehl7Erw1dmSbNv33KyC3t13dfbjalZDtYXyOz4yOhlorTgogQ0mBksWEdq7RJvv25Bq40XxSa_6ePe4wCQjB4cwPQ58gUjytbhd3TzschphEvxEULFCQj2u5yf-ocKnbliqO10IBiq4pNA2u3xgSUva5pLw3-mRoi5dCgkVJuRHMaKuPDj8K21GJd67jQqOk7HWg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