解决cvg申请内存导致不足的的问题

This commit is contained in:
2025-04-24 11:39:31 +08:00
parent fc6412adf0
commit 73ea1d6f5f
8 changed files with 38 additions and 17 deletions

View File

@@ -13,12 +13,12 @@ if __name__ == "__main__":
cmd=f"{' '.join(sys.argv[1:])} > build_log.log"
if not ('not_clean' in sys.argv[1:]):
os.system("python3 ../clear_output.py > /dev/null")
try:
os.remove("../make_flags.txt")
os.remove("../python_script_log.log")
except Exception as e:
print(e)
# os.system("python3 ../praper_vscode.py clear >> ../python_script_log.log")
try:
os.remove("../make_flags.txt")
os.remove("../python_script_log.log")
except Exception as e:
print(e)
os.system("python3 ../praper_vscode.py clear >> ../python_script_log.log")
path="../tools/gen_img/customer"
if os.path.exists(path):
shutil.rmtree(path)