From a29236b80f7951b63fb87b6baf2beb7b032a45fc Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 22 Jan 2019 21:52:50 +0000 Subject: [PATCH] [Docs] Add a note clarifying how to get good test performances. Differential Revision: https://reviews.llvm.org/D56337 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351885 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/TestingGuide.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/TestingGuide.rst b/docs/TestingGuide.rst index e3db60dd9e7..ceb2023e750 100644 --- a/docs/TestingGuide.rst +++ b/docs/TestingGuide.rst @@ -107,6 +107,13 @@ To run all of the LLVM regression tests use the check-llvm target: % make check-llvm +In order to get reasonable testing performance, build LLVM and subprojects +in release mode, i.e. + +.. code-block:: bash + + % cmake -DCMAKE_BUILD_TYPE="Release" + If you have `Clang `_ checked out and built, you can run the LLVM and Clang tests simultaneously using: -- 2.50.1