wmakeLnIncludeAll: When running parallel wait for the wmakeLnInclude jobs to complete
then synchronize the file system to ensure all links are flushed before compilation starts
This commit is contained in:
parent
ff7a216a58
commit
d16324bf44
1 changed files with 10 additions and 0 deletions
|
|
@ -139,6 +139,16 @@ do
|
|||
done
|
||||
done
|
||||
|
||||
if [ "$nCores" -gt 0 ]
|
||||
then
|
||||
# Wait for all of the wmakeLnInclude jobs to finish
|
||||
wait
|
||||
|
||||
# Synchronize the file system to ensure that all of the links exist
|
||||
# before compilation
|
||||
sync
|
||||
fi
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Cleanup local variables and functions
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue