Author: Craig Hesling Date: 2023-12-30T19:24:14+01:00 New Revision: 8346e8608f5eb7ad03f2c6beacda43af563b4eae
URL: https://github.com/llvm/llvm-project/commit/8346e8608f5eb7ad03f2c6beacda43af563b4eae DIFF: https://github.com/llvm/llvm-project/commit/8346e8608f5eb7ad03f2c6beacda43af563b4eae.diff LOG: [clang] Add build type to LibASTMatchersTutorial.rst cmake (#76301) Add the required CMAKE_BUILD_TYPE to the cmake configuration line. We drop the comment about enabling tests, since it is already implied and doesn't add any additional context. Added: Modified: clang/docs/LibASTMatchersTutorial.rst Removed: ################################################################################ diff --git a/clang/docs/LibASTMatchersTutorial.rst b/clang/docs/LibASTMatchersTutorial.rst index 37c9f178fa8df3..2a58502a8de4e7 100644 --- a/clang/docs/LibASTMatchersTutorial.rst +++ b/clang/docs/LibASTMatchersTutorial.rst @@ -50,7 +50,7 @@ Okay. Now we'll build Clang! cd ~/clang-llvm mkdir build && cd build - cmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_BUILD_TESTS=ON # Enable tests; default is off. + cmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_TESTS=ON ninja ninja check # Test LLVM only. ninja clang-test # Test Clang only. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits