Issue |
150985
|
Summary |
Build fails on Mac M4: LLDB test suite requires libc++ but it is disabled
|
Labels |
libc++
|
Assignees |
|
Reporter |
steven-studio
|
**Environment**
- Mac M4
- macOS version: [請填]
- LLVM commit: [請填,如有]
**Build Command**
```bash
cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;lld;lldb" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install ../llvm
```
**Observed error**
```bash
CMake Error at /Users/youzhewei/Desktop/llvm-project/lldb/test/CMakeLists.txt:201 (message):
LLDB test suite requires libc++, but it is currently disabled. Please add
`libcxx` to `LLVM_ENABLE_RUNTIMES` or disable tests via
`LLDB_INCLUDE_TESTS=OFF.
```
**Expectation**
CMake should configure successfully, or at least document proper flags for Mac M4 builds with lldb enabled.
**Steps tried**
• Re-checked cmake flags
• No explicit disabling of libcxx
**Thanks!**
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs