mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	more reasonable numbers for memory
This commit is contained in:
		
							parent
							
								
									5d29a9f633
								
							
						
					
					
						commit
						da0778350b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -39,7 +39,7 @@ if os.name == "posix":
 | 
				
			||||||
        smtio_stacksize = 128 * 1024 * 1024
 | 
					        smtio_stacksize = 128 * 1024 * 1024
 | 
				
			||||||
        if os.uname().sysname == "Darwin":
 | 
					        if os.uname().sysname == "Darwin":
 | 
				
			||||||
            # MacOS has rather conservative stack limits
 | 
					            # MacOS has rather conservative stack limits
 | 
				
			||||||
            smtio_stacksize = 16 * 1024 * 512
 | 
					            smtio_stacksize = 8 * 1024 * 1024
 | 
				
			||||||
        if current_rlimit_stack[1] != resource.RLIM_INFINITY:
 | 
					        if current_rlimit_stack[1] != resource.RLIM_INFINITY:
 | 
				
			||||||
            smtio_stacksize = min(smtio_stacksize, current_rlimit_stack[1])
 | 
					            smtio_stacksize = min(smtio_stacksize, current_rlimit_stack[1])
 | 
				
			||||||
        if current_rlimit_stack[0] < smtio_stacksize:
 | 
					        if current_rlimit_stack[0] < smtio_stacksize:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue