罗勇刚(Yonggang Luo)
2013-Jun-21 10:07 UTC
[LLVMdev] Patch for the fact that all llvm python scripts are python 2.x compatible.
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
罗勇刚(Yonggang Luo)
2013-Jun-22 02:30 UTC
[LLVMdev] Patch for the fact that all llvm python scripts are python 2.x compatible.
ping. 2013/6/21 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com>:> 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-- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo