mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Automatically determine number of threads to use in wally-tool-chain-install
This commit is contained in:
		
							parent
							
								
									602d126776
								
							
						
					
					
						commit
						6d77b22281
					
				@ -29,11 +29,8 @@
 | 
			
		||||
## and limitations under the License.
 | 
			
		||||
################################################################################################
 | 
			
		||||
 | 
			
		||||
# MODIFY FOR YOUR MACHINE
 | 
			
		||||
# Increasing NUM_THREADS will speed up parallel compilation of the tools
 | 
			
		||||
#NUM_THREADS=2 # for low memory machines > 16GiB
 | 
			
		||||
NUM_THREADS=8  # for >= 32GiB
 | 
			
		||||
#NUM_THREADS=16  # for >= 64GiB
 | 
			
		||||
NUM_THREADS=$(nproc --ignore 1) # One less than the total number of threads
 | 
			
		||||
 | 
			
		||||
# Colors
 | 
			
		||||
BOLD='\033[1m'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user