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
a7fa5699df
commit
d7e6c04855
@ -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…
Reference in New Issue
Block a user