[BUILD] Fixed error when compiling in systems with multiple versions of python installed (#1019)
This commit is contained in:
@@ -141,10 +141,10 @@ class CMakeBuild(build_ext):
|
||||
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=" + extdir,
|
||||
"-DTRITON_BUILD_TUTORIALS=OFF",
|
||||
"-DTRITON_BUILD_PYTHON_MODULE=ON",
|
||||
# '-DPYTHON_EXECUTABLE=' + sys.executable,
|
||||
'-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON',
|
||||
"-DPython3_EXECUTABLE:FILEPATH=" + sys.executable,
|
||||
"-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON",
|
||||
"-DPYTHON_INCLUDE_DIRS=" + python_include_dir,
|
||||
"-DLLVM_EXTERNAL_LIT=" + lit_dir
|
||||
"-DLLVM_EXTERNAL_LIT=" + lit_dir,
|
||||
] + thirdparty_cmake_args
|
||||
|
||||
# configuration
|
||||
|
Reference in New Issue
Block a user