1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Revert r229224: Make the 'llvm-lit' utility defend against a system where Python3

Apparantly python2.7 also doesn't work. Awesome.

llvm-svn: 229245
This commit is contained in:
Chandler Carruth 2015-02-14 07:11:25 +00:00
parent 062f9a81a9
commit 24dcfa7652
3 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
# Set up some variables specifically used by lit.
set(LD_EXECUTABLE ${CMAKE_LINKER})
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg

View File

@ -12,6 +12,7 @@ config.llvm_shlib_dir = "@SHLIBDIR@"
config.llvm_shlib_ext = "@SHLIBEXT@"
config.llvm_exe_ext = "@EXEEXT@"
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
config.ld_executable = "@LD_EXECUTABLE@"
config.python_executable = "@PYTHON_EXECUTABLE@"
config.ocamlfind_executable = "@OCAMLFIND@"
config.have_ocamlopt = "@HAVE_OCAMLOPT@"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7
#!/usr/bin/env python
import os
import sys