File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -275,19 +275,6 @@ if (GGML_SYCL)
275275    endif ()
276276endif ()
277277
278- if  (GGML_RPC)
279-     message (STATUS  "RPC found" )
280- 
281-     list (APPEND  GGML_CDEF_PUBLIC GGML_USE_RPC)
282- 
283-     if  (WIN32 )
284-         list (APPEND  GGML_EXTRA_LIBS_PRIVATE ws2_32)
285-     endif ()
286- 
287-     set (GGML_HEADERS_RPC ../include /ggml-rpc.h)
288-     set (GGML_SOURCES_RPC ggml-rpc.cpp)
289- endif ()
290- 
291278if  (GGML_VULKAN)
292279    find_package (Vulkan COMPONENTS glslc REQUIRED)
293280
@@ -822,6 +809,11 @@ if (GGML_BLAS)
822809    target_link_libraries (ggml PUBLIC  ggml-blas)
823810endif ()
824811
812+ if  (GGML_RPC)
813+     add_subdirectory (ggml-rpc)
814+     target_link_libraries (ggml PUBLIC  ggml-rpc)
815+ endif ()
816+ 
825817if  (EMSCRIPTEN)
826818    set_target_properties (ggml PROPERTIES COMPILE_FLAGS  "-msimd128" )
827819endif ()
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments