not_clean 时不重复编译
This commit is contained in:
@@ -31,6 +31,8 @@ export dtest_only=1
|
||||
|
||||
set -o errexit
|
||||
|
||||
export CLEANUP_OPT
|
||||
|
||||
if [ "${CLEANUP_OPT}" == "1" ]; then
|
||||
make -j -C .. clobber
|
||||
make -j -C .. dtest_clean
|
||||
|
@@ -11,7 +11,8 @@ if __name__ == "__main__":
|
||||
time_start=time.time()
|
||||
if(len(sys.argv)>2):
|
||||
cmd=f"{' '.join(sys.argv[1:])} > build_log.log"
|
||||
os.system("python3 ../clear_output.py > /dev/null")
|
||||
if not ('not_clean' in sys.argv[1:]):
|
||||
os.system("python3 ../clear_output.py > /dev/null")
|
||||
path="../tools/gen_img/customer"
|
||||
if os.path.exists(path):
|
||||
shutil.rmtree(path)
|
||||
|
Reference in New Issue
Block a user