Lines Matching +full:libcxx +full:-
12 libc++ tests is by using make check-libcxx. However since libc++ can be used
22 --------------------------
30 .. code-block:: bash
36 .. code-block:: bash
38 $ export LIBCXX_SITE_CONFIG=path/to/build-libcxx/test/lit.site.cfg
41 -------------
47 .. code-block:: bash
49 $ cd path/to/src/libcxx
50 $ lit -sv test/std/re # Run all of the std::regex tests
51 $ lit -sv test/std/depr/depr.c.headers/stdlib_h.pass.cpp # Run a single test
52 $ lit -sv test/std/atomics test/std/threads # Test std::thread and std::atomic
55 can be specified using the `--param=<name>=<val>` flag. The most common option
56 you'll want to change is the standard dialect (ie -std=c++XX). By default the
60 .. code-block:: bash
62 $ lit -sv test/std/containers # Run the tests with the newest -std
63 $ lit -sv --param=std=c++03 test/std/containers # Run the tests in C++03
68 .. code-block:: bash
70 $ lit -sv --param=compile_flags='-Wcustom-warning'
71 $ lit -sv --param=link_flags='-L/custom/library/path'
75 .. code-block:: bash
78 $ lit -sv --param=cxx_under_test=/opt/bin/g++ test/std
81 $ lit -sv --param=enable_warnings=true test/std
84 $ lit -sv --param=use_sanitizer=Undefined
93 --------------------
95 To use these options you pass them on the LIT command line as --param NAME or
96 --param NAME=VALUE. Some options have default values specified during CMake's
166 .. option:: compile_flags="<list-of-args>"
171 .. option:: link_flags="<list-of-args>"
197 ---------------------
223 -------------------
226 the ``cxx-benchmarks`` target.
230 .. code-block:: bash
233 $ cmake [options] <path to libcxx sources>
234 $ make cxx-benchmarks
236 This will build all of the benchmarks under ``<libcxx-src>/benchmarks`` to be
237 built against the just-built libc++. The compiled tests are output into
241 using the ``-DLIBCXX_BUILD_BENCHMARKS_NATIVE_STDLIB=ON`` CMake option. This
243 The compiled benchmarks are named ``<test>.libcxx.out`` if they test libc++ and
252 ------------------
259 .. code-block:: bash
262 $ make cxx-benchmarks
263 $ ./algorithms.libcxx.out # Runs all the benchmarks
264 $ ./algorithms.libcxx.out --benchmark_filter=BM_Sort.* # Only runs the sort benchmarks