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):
def compile_cpp(use_mingw=False, use_gpu=False):
if os.path.exists("build"):
shutil.rmtree("build")
os.makedirs("build")
os.chdir("build")
if os.path.exists("build_cpp"):
shutil.rmtree("build_cpp")
os.makedirs("build_cpp")
os.chdir("build_cpp")
cmake_cmd = "cmake "
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