--parallel improvements (#13800)
				
					
				
			* improve make parallel jobs support * document the --parallel option * disable the output-sync for interactive targets
This commit is contained in:
		
							parent
							
								
									999391f3ae
								
							
						
					
					
						commit
						3b28178deb
					
				
					 9 changed files with 56 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -36,6 +36,10 @@ PRINT_OK = $(SILENT) || printf " $(OK_STRING)" | $(AWK_STATUS)
 | 
			
		|||
BUILD_CMD = LOG=$$($(CMD) 2>&1) ; if [ $$? -gt 0 ]; then $(PRINT_ERROR); elif [ "$$LOG" != "" ] ; then $(PRINT_WARNING); else $(PRINT_OK); fi;
 | 
			
		||||
MAKE_MSG_FORMAT = $(AWK) '{ printf "%-118s", $$0;}'
 | 
			
		||||
 | 
			
		||||
# The UNSYNC_OUTPUT_CMD command disables the `--output-sync` for the current command, if the `--output-sync` granularity is `target` or lower.
 | 
			
		||||
# This is achieved by telling make to treat the current command as if it invokes a recursive make subcommand (as if by calling `$(MAKE)`).
 | 
			
		||||
UNSYNC_OUTPUT_CMD = +true
 | 
			
		||||
 | 
			
		||||
# Define Messages
 | 
			
		||||
# English
 | 
			
		||||
MSG_ERRORS_NONE = Errors: none
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue