Unverified Commit c5156fe0 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[python] fixed MPI version installation (#1616)

parent fc7c75fc
...@@ -126,7 +126,7 @@ def compile_cpp(use_mingw=False, use_gpu=False, use_mpi=False, use_hdfs=False, ...@@ -126,7 +126,7 @@ def compile_cpp(use_mingw=False, use_gpu=False, use_mpi=False, use_hdfs=False,
else: else:
status = 1 status = 1
lib_path = os.path.join(CURRENT_DIR, "compile", "windows", "x64", "DLL", "lib_lightgbm.dll") lib_path = os.path.join(CURRENT_DIR, "compile", "windows", "x64", "DLL", "lib_lightgbm.dll")
if not use_gpu and not use_hdfs: if not any((use_gpu, use_mpi, use_hdfs)):
logger.info("Starting to compile with MSBuild from existing solution file.") logger.info("Starting to compile with MSBuild from existing solution file.")
platform_toolsets = ("v141", "v140") platform_toolsets = ("v141", "v140")
for pt in platform_toolsets: for pt in platform_toolsets:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment