diff --git a/libcxx/docs/TestingLibcxx.rst b/libcxx/docs/TestingLibcxx.rst --- a/libcxx/docs/TestingLibcxx.rst +++ b/libcxx/docs/TestingLibcxx.rst @@ -227,12 +227,11 @@ .. code-block:: bash $ cd build - $ cmake [options] - $ make cxx-benchmarks + $ ninja cxx-benchmarks This will build all of the benchmarks under ``/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