[llvm] r351885 - [Docs] Add a note clarifying how to get good test performances.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 22 13:52:51 PST 2019


Author: davide
Date: Tue Jan 22 13:52:50 2019
New Revision: 351885

URL: http://llvm.org/viewvc/llvm-project?rev=351885&view=rev
Log:
[Docs] Add a note clarifying how to get good test performances.

Differential Revision:  https://reviews.llvm.org/D56337

Modified:
    llvm/trunk/docs/TestingGuide.rst

Modified: llvm/trunk/docs/TestingGuide.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.rst?rev=351885&r1=351884&r2=351885&view=diff
==============================================================================
--- llvm/trunk/docs/TestingGuide.rst (original)
+++ llvm/trunk/docs/TestingGuide.rst Tue Jan 22 13:52:50 2019
@@ -107,6 +107,13 @@ To run all of the LLVM regression tests
 
     % 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 <http://clang.llvm.org/>`_ checked out and built, you
 can run the LLVM and Clang tests simultaneously using:
 




More information about the llvm-commits mailing list