okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-own-1a (451f3e8a6): own-stack phase 1A and cleanup 5.4; the ggml/MMQ sources the engines build are vendored in third_party/strata-ggml (frozen at the pin, manifest and check), default engine builds need no llama.cpp download, the TQ overlay is plain files, CMakeLists.txt is split into cmake/backends/*; every engine unchanged (CUDA/HIP gfx1201/gfx1151/SYCL device code identical, SYCL 22/22 checksums, Metal 104/105 objects with only __TIME__ differing, CUDA tokens 26/26); release scripts still pass -DSTRATA_GGML_DIR (owner go 11-08)508e6999a

main
904 B16 linesraw
1# cmake/backends/sycl.cmake - the Intel Arc (SYCL) project's ggml-base / ggml-cpu (sycl/CMakeLists.txt calls it where its ggml block used to be).
2# A macro: it runs in the caller's scope.  The ggml tree comes from strata_ggml_resolve() (cmake/strata_ggml.cmake).
3
4# ggml-base and ggml-cpu of the SYCL engine's CPU expert pool: the forced GGML_* options and the ggml subproject
5macro(strata_sycl_ggml)
6  set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
7  set(GGML_STATIC ON CACHE BOOL "" FORCE)
8  set(GGML_CUDA OFF CACHE BOOL "" FORCE)
9  set(GGML_SYCL OFF CACHE BOOL "" FORCE)
10  set(GGML_OPENMP OFF CACHE BOOL "" FORCE)
11  set(GGML_BACKEND_DL OFF CACHE BOOL "" FORCE)
12  set(GGML_BUILD_TESTS OFF CACHE BOOL "" FORCE)
13  set(GGML_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
14  set(GGML_NATIVE ON CACHE BOOL "" FORCE)
15  add_subdirectory(${_strata_ggml_root}/ggml ${CMAKE_BINARY_DIR}/ggml EXCLUDE_FROM_ALL)
16endmacro()