Issue |
99879
|
Summary |
[Libc] Having issues compiling libc for MacOS
|
Labels |
libc
|
Assignees |
|
Reporter |
medievalghoul
|
I recently tried compiling libc on overlay and got this message after running `ninja libc`:
```
ninja: error:
'/Users/juliusalexandre/GitDownloads/llvm-project/libc/config/darwin/api.td',
needed by 'projects/libc/include/ctype.h', missing and no known rule to make it
```
the cmake command I ran:
```
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS='clang;libc' ../llvm \
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_TARGET_ARCH=AArch64 \
-DLLVM_USE_LINKER=lld \
-DLLVM_CCACHE_BUILD=true
```
I'm on the Apple Silicon M2 Pro
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs