[llvm] 23b16d2 - [docs] Document that psutil should be installed in non-user location

Yaron Keren via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 03:42:46 PDT 2021


Author: Yaron Keren
Date: 2021-08-19T13:42:31+03:00
New Revision: 23b16d245382c1a6a7423ed8a67ad620046fff63

URL: https://github.com/llvm/llvm-project/commit/23b16d245382c1a6a7423ed8a67ad620046fff63
DIFF: https://github.com/llvm/llvm-project/commit/23b16d245382c1a6a7423ed8a67ad620046fff63.diff

LOG: [docs] Document that psutil should be installed in non-user location

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

Added: 
    

Modified: 
    llvm/docs/TestingGuide.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst
index cd2c012d9573..aeb2e89f9588 100644
--- a/llvm/docs/TestingGuide.rst
+++ b/llvm/docs/TestingGuide.rst
@@ -173,6 +173,11 @@ or to run all of the ARM CodeGen tests:
 
     % llvm-lit ~/llvm/test/CodeGen/ARM
 
+The regression tests will use the Python psutil module only if installed in a
+**non-user** location. Under Linux, install with sudo or within a virtual
+environment. Under Windows, install Python for all users and then run
+``pip install psutil`` in an elevated command prompt.
+
 For more information on using the :program:`lit` tool, see ``llvm-lit --help``
 or the :doc:`lit man page <CommandGuide/lit>`.
 


        


More information about the llvm-commits mailing list