okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
508e6999a
main
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 ) 6set ( BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE ) 7set ( GGML_STATIC ON CACHE BOOL "" FORCE ) 8set ( GGML_CUDA OFF CACHE BOOL "" FORCE ) 9set ( GGML_SYCL OFF CACHE BOOL "" FORCE ) 10set ( GGML_OPENMP OFF CACHE BOOL "" FORCE ) 11set ( GGML_BACKEND_DL OFF CACHE BOOL "" FORCE ) 12set ( GGML_BUILD_TESTS OFF CACHE BOOL "" FORCE ) 13set ( GGML_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE ) 14set ( GGML_NATIVE ON CACHE BOOL "" FORCE ) 15add_subdirectory ( $ { _strata_ggml_root } /ggml ${ CMAKE_BINARY_DIR } /ggml EXCLUDE_FROM_ALL ) 16endmacro ()