mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -139,6 +139,16 @@ do
|
|||||||
done
|
done
|
||||||
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
|
# Cleanup local variables and functions
|
||||||
|
|||||||
Reference in New Issue
Block a user