Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit e157032

Browse files
avalluriamarnath
authored andcommitted
ant-native: Fix random build failure
Due to lack of task dependency between 'do_removebinaries' and 'do_removecruft' when both run parallelly sometimes, 'find' in do_removebinaries referring on directories that sare already removed by do_removecruft. This change makes sure that both tasks execute sequentially. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
1 parent cc5c067 commit e157032

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# With lack of task dependency between 'do_removebinaries' and 'do_removecruft'
2+
# seen some timing issues on parallel builds, 'find' in do_removebinaries try
3+
# to work on directories already removed by do_removecruft.,
4+
# Hence we make sure that both tasks execute sequentially than parallelly.
5+
#
6+
# Patch status: Not-submitted[Needs more testing]
7+
#
8+
# Remove existing do_removecruft
9+
deltask removecruft
10+
# Add do_removecruft after do_removebinaries
11+
addtask removecruft before do_patch after do_removebinaries

0 commit comments

Comments
 (0)