mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
[libc] Fixing the build command for benchmarks.
Building libc without clang fails with: CMake Error at /home/asteinhauser/llvm-project/libc/CMakeLists.txt:49 (message): 'clang' and 'clang-tools-extra' are required in LLVM_ENABLE_PROJECTS to lint llvm-libc. The linting step performs important checks to help prevent the introduction of subtle bugs, but it may increase build times. Reviewers: sivachandra Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D80495
This commit is contained in:
parent
0073c293a4
commit
504d8d9d8a
@ -35,7 +35,7 @@ informations** and **benchmarking configuration**.
|
||||
|
||||
```shell
|
||||
cd llvm-project
|
||||
cmake -B/tmp/build -Sllvm -DLLVM_ENABLE_PROJECTS=libc -DCMAKE_BUILD_TYPE=Release
|
||||
cmake -B/tmp/build -Sllvm -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;libc' -DCMAKE_BUILD_TYPE=Release
|
||||
make -C /tmp/build -j display-libc-memcpy-benchmark-small
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user