Spaces:
Running
Running
65a
65a
commited on
Commit
·
73a16f3
1
Parent(s):
3175a17
cmake : install all ggml public headers (llama/8480)
Browse files- ggml/CMakeLists.txt +9 -3
ggml/CMakeLists.txt
CHANGED
|
@@ -200,13 +200,19 @@ endif ()
|
|
| 200 |
include(GNUInstallDirs)
|
| 201 |
include(CMakePackageConfigHelpers)
|
| 202 |
|
|
|
|
| 203 |
set(GGML_PUBLIC_HEADERS
|
| 204 |
include/ggml.h
|
| 205 |
include/ggml-alloc.h
|
| 206 |
include/ggml-backend.h
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
|
| 211 |
set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
|
| 212 |
#if (GGML_METAL)
|
|
|
|
| 200 |
include(GNUInstallDirs)
|
| 201 |
include(CMakePackageConfigHelpers)
|
| 202 |
|
| 203 |
+
# all public headers
|
| 204 |
set(GGML_PUBLIC_HEADERS
|
| 205 |
include/ggml.h
|
| 206 |
include/ggml-alloc.h
|
| 207 |
include/ggml-backend.h
|
| 208 |
+
include/ggml-blas.h
|
| 209 |
+
include/ggml-cuda.h
|
| 210 |
+
include/ggml.h
|
| 211 |
+
include/ggml-kompute.h
|
| 212 |
+
include/ggml-metal.h
|
| 213 |
+
include/ggml-rpc.h
|
| 214 |
+
include/ggml-sycl.h
|
| 215 |
+
include/ggml-vulkan.h)
|
| 216 |
|
| 217 |
set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
|
| 218 |
#if (GGML_METAL)
|