Commit Graph

15 Commits

Author SHA1 Message Date
Georgi Gerganov
a8db410a25
cmake : remove unused file (#1419) 2026-01-30 16:29:51 +02:00
Christian Kastner
00605f172a ggml: Skip backend library linking code when GGML_BACKEND_DL=ON (llama/15094)
Any available libraries are found and loaded dynamically at runtime.
2025-08-14 14:17:28 +03:00
Christian Kastner
c93ee0262e cmake: Add GGML_BACKEND_DIR option (llama/15074)
* cmake: Add GGML_BACKEND_DIR option

This can be used by distributions to specify where to look for backends
when ggml is built with GGML_BACKEND_DL=ON.

* Fix phrasing
2025-08-14 14:17:28 +03:00
Kai Pastor
731b0c6f06
cmake : Fix BLAS link interface (#1316) 2025-07-30 15:53:16 +03:00
Kai Pastor
44ea6eda2a
cmake : Indent ggml-config.cmake (#1310) 2025-07-24 20:58:02 +03:00
Kai Pastor
0d274bdd58
cmake : fix usage issues (#1257)
* CMake config: Create target only once

Fix error on repeated find_package(ggml).
For simplicity, check only for the top-level ggml::ggml.

* CMake config: Add CUDA link libs

* CMake config: Add OpenCL link libs

* CMake config: Use canonical find_dependency

Use set and append to control link lib variables.
Apply more $<LINK_ONLY...>.

* CMake config: Wire OpenMP dependency
2025-07-22 21:13:21 +03:00
xctan
1461865188 ggml-cpu : rework weak alias on apple targets (llama/14146)
* ggml-cpu : rework weak alias on apple targets

* fix powerpc detection

* fix ppc detection

* fix powerpc detection on darwin
2025-06-18 10:21:15 +03:00
Christian Kastner
42b545ba42 cmake: Factor out CPU architecture detection (llama/13883)
* cmake: Define function for querying architecture

The tests and results match exactly those of src/CMakeLists.txt

* Switch arch detection over to new function
2025-06-01 14:01:05 +03:00
Georgi Gerganov
2e727b4be9 ggml : sync/merge cmake,riscv,powerpc, add common.cmake (#0) 2025-03-27 09:35:24 +02:00
Christian Kastner
82d9ca4c09
cmake: Comment out GGML_BIN_DIR for now (#1139)
Nothing installs to it yet, so when attempting to use the cmake package,
set_and_check() triggers an error if the directory doesn't already exist
for other reasons.
2025-03-10 14:06:21 +02:00
Georgi Gerganov
d013aa56cd vulkan : sync (llama/0)
ggml-ci
2025-03-04 21:24:42 +02:00
Georgi Gerganov
475e012273 cmake : sync new file
ggml-ci
2025-01-29 12:57:00 +02:00
Georgi Gerganov
a131a8200a
ggml : remove duplicated sources from the last sync (#1017)
* ggml : remove duplicated sources from the last sync

ggml-ci

* cont : remove FindSIMD.cmake [no ci]
2024-11-15 23:52:31 +02:00
Georgi Gerganov
5378ea0d3c
ggml : reorganize source code + improve CMake (#865)
* scripts : update sync [no ci]

* ggml : move headers one up [no ci]

* files : reorganize + update CMake

ggml-ci

* cmake : build normal ggml library

ggml-ci

* cmake : link math library to test + remove ci for code cov

ggml-ci

* files : move public headers to include

ggml-ci
2024-06-26 19:33:53 +03:00
Georgi Gerganov
fb558f78d9
Initial release 2022-09-18 20:11:11 +03:00