Commit e0cf736a authored by Guolin Ke's avatar Guolin Ke
Browse files

fix bug for build_wheel

parent f2566311
...@@ -58,10 +58,10 @@ def clear_path(path): ...@@ -58,10 +58,10 @@ def clear_path(path):
def compile_cpp(use_mingw=False, use_gpu=False): def compile_cpp(use_mingw=False, use_gpu=False):
if os.path.exists("build"): if os.path.exists("build_cpp"):
shutil.rmtree("build") shutil.rmtree("build_cpp")
os.makedirs("build") os.makedirs("build_cpp")
os.chdir("build") os.chdir("build_cpp")
cmake_cmd = "cmake " cmake_cmd = "cmake "
build_cmd = "make _lightgbm" build_cmd = "make _lightgbm"
......
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