feat: support cleaning without removing artifacts

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-07-08 18:57:44 +08:00
parent 4f4ec0468a
commit e567c27db8
2 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ def build():
shutil.rmtree("../cpp_install")
except Exception:
pass
cpp.make_install(["PREFIX=../cpp_install" + makevars], chdir=False)
cpp.make_install(["PREFIX=../cpp_install"] + makevars, chdir=False)
shutil.copy2(
f"libbz2.so.{upstream_version}",
f"../cpp_install/lib/libbz2.so.{upstream_version}",