mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	cmake : remove obsolete sycl compile flags (#5581)
* rm unwanted sycl compile options * fix bug * fix bug * format fix
This commit is contained in:
		 Abhilash Majumder
					Abhilash Majumder
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							f53119cec4
						
					
				
				
					commit
					13e2c771aa
				
			| @@ -741,13 +741,6 @@ function(get_flags CCID CCVER) | ||||
|         if (CCVER VERSION_GREATER_EQUAL 8.1.0) | ||||
|             list(APPEND CXX_FLAGS -Wextra-semi) | ||||
|         endif() | ||||
|     elseif (CCID MATCHES "Intel") | ||||
|         if (NOT LLAMA_SYCL) | ||||
|             # enable max optimization level when using Intel compiler | ||||
|             set(C_FLAGS   -ipo -O3 -static -fp-model=fast -flto -fno-stack-protector) | ||||
|             set(CXX_FLAGS -ipo -O3 -static -fp-model=fast -flto -fno-stack-protector) | ||||
|             add_link_options(-fuse-ld=lld -static-intel) | ||||
|         endif() | ||||
|     endif() | ||||
|  | ||||
|     set(GF_C_FLAGS   ${C_FLAGS}   PARENT_SCOPE) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user