[libcxx-commits] [PATCH] D110722: [libc++][Docs] Update benchmark doc wrt monorepo

Shivam Gupta via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 1 19:07:03 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG237e9059f781: [libc++][Docs] Update benchmark doc wrt monorepo (authored by xgupta).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110722/new/

https://reviews.llvm.org/D110722

Files:
  libcxx/docs/TestingLibcxx.rst


Index: libcxx/docs/TestingLibcxx.rst
===================================================================
--- libcxx/docs/TestingLibcxx.rst
+++ libcxx/docs/TestingLibcxx.rst
@@ -227,12 +227,11 @@
 .. code-block:: bash
 
   $ cd build
-  $ cmake [options] <path to libcxx sources>
-  $ make cxx-benchmarks
+  $ ninja cxx-benchmarks
 
 This will build all of the benchmarks under ``<libcxx-src>/benchmarks`` to be
 built against the just-built libc++. The compiled tests are output into
-``build/benchmarks``.
+``build/projects/libcxx/benchmarks``.
 
 The benchmarks can also be built against the platforms native standard library
 using the ``-DLIBCXX_BUILD_BENCHMARKS_NATIVE_STDLIB=ON`` CMake option. This
@@ -255,8 +254,7 @@
 
 .. code-block:: bash
 
-  $ cd build/benchmarks
-  $ make cxx-benchmarks
+  $ cd build/projects/libcxx/benchmarks
   $ ./algorithms.libcxx.out # Runs all the benchmarks
   $ ./algorithms.libcxx.out --benchmark_filter=BM_Sort.* # Only runs the sort benchmarks
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110722.376661.patch
Type: text/x-patch
Size: 989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211002/b6cf02f8/attachment.bin>


More information about the libcxx-commits mailing list