File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
ggml/src/ggml-remotingfrontend Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,27 @@ cmake_policy(SET CMP0114 NEW)
1212message (STATUS "Enable API Remoting frontend found" )
1313
1414ggml_add_backend_library(ggml-remotingfrontend
15- ggml-remoting-frontend.cpp
15+ ggml-backend-buffer.cpp
16+ ggml-backend.cpp
17+ ggml-backend-device.cpp
18+ ggml-backend-reg.cpp
19+ ggml-buffer-type .cpp
20+ ggml-host-buffer-type .cpp
21+ virtgpu.cpp
1622 ../../include /ggml-remoting-frontend.h
1723 )
1824
19- #target_link_libraries(ggml-remotingfrontend PRIVATE remotingfrontend)
25+ target_link_libraries (ggml-remotingfrontend PUBLIC drm)
26+ target_include_directories (ggml-remotingfrontend PUBLIC /usr/include /libdrm/)
27+
28+ set (REMOTING_PROJECT /Users/kevinpouget/remoting)
29+ set (MESA_PROJECT_HOME ${REMOTING_PROJECT} /mesa)
30+ set (MESA_PROJECT_SRC ${MESA_PROJECT_HOME} /src)
31+
32+ target_include_directories (ggml-remotingfrontend PUBLIC ${MESA_PROJECT_SRC} /virtio/virtio-gpu/)
33+ target_include_directories (ggml-remotingfrontend PUBLIC ${MESA_PROJECT_HOME} /include )
2034target_include_directories (ggml-remotingfrontend PRIVATE ${CMAKE_CURRENT_BINARY_DIR} )
35+
36+ target_compile_options (ggml-remotingfrontend PRIVATE -std=c++20)
37+
38+ # dnf install -y libdrm-devel
You can’t perform that action at this time.
0 commit comments