[LLVMdev] Patch for the fact that all llvm python scripts are python 2.x compatible.

罗勇刚(Yonggang Luo) luoyonggang at gmail.com
Fri Jun 21 03:07:31 PDT 2013


720beaedce6f19c81156fe20168f85989a8db53d
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb70f15..e327427 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -249,7 +249,7 @@ set(LLVM_DEFAULT_TARGET_TRIPLE
"${LLVM_HOST_TRIPLE}" CACHE STRING
 set(TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}")

 include(HandleLLVMOptions)
-
+set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5 2.4)
 # Verify that we can find a Python interpreter,
 include(FindPythonInterp)
 if( NOT PYTHONINTERP_FOUND )


--
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo




More information about the llvm-dev mailing list