[libcxx-commits] [PATCH] D110722: [libc++][Docs] Update benchmark doc wrt to monorepo
Shivam Gupta via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Sep 29 08:15:04 PDT 2021
xgupta created this revision.
xgupta added reviewers: ldionne, Quuxplusone.
xgupta requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Seems this section is not updated since we have transit to llvm-project monorepo.
At start we build libcxx under monorepo configuration but later try make saperate configuration for build
and running benchmark.
Repository:
rG LLVM Github Monorepo
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
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.375900.patch
Type: text/x-patch
Size: 963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210929/3dbe8679/attachment.bin>
More information about the libcxx-commits
mailing list