mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	mmap : skip resource limit checks on AIX (#12541)
This commit is contained in:
		 Prajwal B Mehendarkar
					Prajwal B Mehendarkar
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							9b169a4d4e
						
					
				
				
					commit
					c54f6b7988
				
			| @@ -476,7 +476,7 @@ struct llama_mlock::impl { | ||||
|  | ||||
|         char* errmsg = std::strerror(errno); | ||||
|         bool suggest = (errno == ENOMEM); | ||||
| #if defined(TARGET_OS_VISION) || defined(TARGET_OS_TV) | ||||
| #if defined(TARGET_OS_VISION) || defined(TARGET_OS_TV) || defined(_AIX) | ||||
|         // visionOS/tvOS dont't support RLIMIT_MEMLOCK | ||||
|         // Skip resource limit checks on visionOS/tvOS | ||||
|         suggest = false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user