Lines Matching full:cmake
47 3. Create a build directory and use CMake to configure the suite. Use the
54 % cmake -DCMAKE_C_COMPILER=<path to llvm build>/bin/clang \
55 -C../test-suite/cmake/caches/O3.cmake \
61 `LLVM_ENABLE_RUNTIMES` cmake flag.
149 performance measurements. Setting the `TEST_SUITE_BENCHMARKING_ONLY` CMake
189 and will run when CMake option `TEST_SUITE_BENCHMARKING_ONLY` is set.
195 benchmarks. CMake can print a list of them:
200 % cmake -LH
202 % cmake -LAH
211 [https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS.html](https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS.html)
216 inferred automatically i.e. when specifying `path/to/clang` CMake will
218 [https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER.html](https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER.html)
230 [https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html)
276 ### Common CMake Flags
282 - `-Ctest-suite/cmake/caches/<cachefile.cmake>`
284 Use a CMake cache. The test-suite comes with several CMake caches which
393 % cmake -DTEST_SUITE_SUBDIRS=path/to/my/benchmark-suite ../test-suite
408 % cmake -DTEST_SUITE_PROFILE_GENERATE=ON \
415 % cmake -DTEST_SUITE_PROFILE_GENERATE=OFF \
433 CMake allows to cross compile to a different target via toolchain files. More
438 - [https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html](https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html)
441 `test-suite/cmake/caches/target-target-*-iphoneos-internal.cmake` CMake cache
458 % cmake -G Ninja -D CMAKE_C_COMPILER=path/to/clang \
459 -C ../test-suite/cmake/caches/target-arm64-iphoneos-internal.cmake \
478 [https://llvm.org/docs/lnt/tests.html#llvm-cmake-test-suite](https://llvm.org/docs/lnt/tests.html#llvm-cmake-test-suite)