Skip to content

Commit 27218de

Browse files
committed
add ci clean before build, which help with parallel compiling
1 parent ef3341d commit 27218de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/build_all.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
os.makedirs(bin_directory, exist_ok=True)
3636

3737
start_time = time.monotonic()
38+
subprocess.run("make -j BOARD={} clean".format(board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
3839
make_result = subprocess.run("make -j BOARD={} all".format(board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
3940
build_duration = time.monotonic() - start_time
4041

0 commit comments

Comments
 (0)