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

Commit

Permalink
ant-native: Fix random build failure
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
avalluri committed Oct 5, 2016
1 parent 45a8c01 commit 2d29de2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions meta-ostro-xt/recipes-core/ant/ant-native_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# With lack of task dependency between 'do_removebinaries' and 'do_removecruft'
# seen some timing issues on parallel builds, 'find' in do_removebinaries try
# to work on directories already removed by do_removecruft.,
# Hence we make sure that both tasks execute sequentially than parallelly.
#
# Patch status: Not-submitted[Needs more testing]
#
# Remove existing do_removecruft
deltask removecruft
# Add do_removecruft after do_removebinaries
addtask removecruft before do_patch after do_removebinaries

0 comments on commit 2d29de2

Please sign in to comment.