[libc-commits] [libc] 1a37705 - [libc] Migrate the libc benchmark instruction to ninja.

Anthony Steinhauser via libc-commits libc-commits at lists.llvm.org
Thu Jun 18 21:54:48 PDT 2020


Author: Anthony Steinhauser
Date: 2020-06-18T21:54:30-07:00
New Revision: 1a377055a71a8508042e75d3feffb3bd016c1088

URL: https://github.com/llvm/llvm-project/commit/1a377055a71a8508042e75d3feffb3bd016c1088
DIFF: https://github.com/llvm/llvm-project/commit/1a377055a71a8508042e75d3feffb3bd016c1088.diff

LOG: [libc] Migrate the libc benchmark instruction to ninja.

    Reviewers: sivachandra

    Reviewed By: sivachandra

    Differential Revision: https://reviews.llvm.org/D82143

Added: 
    

Modified: 
    libc/benchmarks/README.md

Removed: 
    


################################################################################
diff  --git a/libc/benchmarks/README.md b/libc/benchmarks/README.md
index ed7d80e1c14d..c7619d0275f9 100644
--- a/libc/benchmarks/README.md
+++ b/libc/benchmarks/README.md
@@ -35,8 +35,8 @@ informations** and **benchmarking configuration**.
 
 ```shell
 cd llvm-project
-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
+cmake -B/tmp/build -Sllvm -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;libc' -DCMAKE_BUILD_TYPE=Release -G Ninja
+ninja -C /tmp/build display-libc-memcpy-benchmark-small
 ```
 
 The display target will attempt to open a window on the machine where you're


        


More information about the libc-commits mailing list