summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/src/ggml-virtgpu/backend/CMakeLists.txt
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-12 20:57:17 +0100
commitb333b06772c89d96aacb5490d6a219fba7c09cc6 (patch)
tree211df60083a5946baa2ed61d33d8121b7e251b06 /llama.cpp/ggml/src/ggml-virtgpu/backend/CMakeLists.txt
downloadllmnpc-b333b06772c89d96aacb5490d6a219fba7c09cc6.tar.gz
Engage!
Diffstat (limited to 'llama.cpp/ggml/src/ggml-virtgpu/backend/CMakeLists.txt')
-rw-r--r--llama.cpp/ggml/src/ggml-virtgpu/backend/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/llama.cpp/ggml/src/ggml-virtgpu/backend/CMakeLists.txt b/llama.cpp/ggml/src/ggml-virtgpu/backend/CMakeLists.txt
new file mode 100644
index 0000000..0b49c40
--- /dev/null
+++ b/llama.cpp/ggml/src/ggml-virtgpu/backend/CMakeLists.txt
@@ -0,0 +1,21 @@
+cmake_minimum_required(VERSION 3.19)
+cmake_policy(SET CMP0114 NEW)
+
+message(STATUS "Enable the VirtGPU/Virglrenderer backend library")
+
+ggml_add_backend_library(ggml-virtgpu-backend
+ backend.cpp
+ backend-dispatched.cpp
+ backend-dispatched-backend.cpp
+ backend-dispatched-device.cpp
+ backend-dispatched-buffer.cpp
+ backend-dispatched-buffer-type.cpp
+ shared/api_remoting.h
+ shared/apir_backend.h
+ shared/apir_cs.h
+ apir_cs_ggml-rpc-back.cpp)
+
+target_compile_options(ggml-virtgpu-backend PRIVATE -std=c++20)
+
+# Add include directory for ggml-backend-impl.h and other core headers
+target_include_directories(ggml-virtgpu-backend PRIVATE ../..)