[llvm] f4e7e5d - [test-release.sh] Fix python 3.12 compatibility (#105993)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 05:48:19 PDT 2024


Author: Keith Smiley
Date: 2024-08-28T05:48:14-07:00
New Revision: f4e7e5da0ce77e078586ab5da08f76191bfc9a26

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

LOG: [test-release.sh] Fix python 3.12 compatibility (#105993)

Added: 
    

Modified: 
    llvm/utils/release/test-release.sh

Removed: 
    


################################################################################
diff  --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 050004aa08c493..2dbc9d281dc697 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -647,7 +647,7 @@ if [ $do_test_suite = "yes" ]; then
   TestSuiteSrcDir="$BuildDir/llvm-test-suite"
 
   ${venv} $SandboxDir
-  $SandboxDir/bin/python $BuildDir/llvm-project/llvm/utils/lit/setup.py install
+  $SandboxDir/bin/python -m pip install $BuildDir/llvm-project/llvm/utils/lit
   mkdir -p $TestSuiteBuildDir
 fi
 


        


More information about the llvm-commits mailing list