vllm-cpp-sys 0.0.1

Raw FFI bindings and native build integration for the stable vllm.cpp C API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
function(vllm_cpp_import_mlx mlx_root mlx_library)
  if(TARGET vllm_cpp::mlx)
    return()
  endif()

  add_library(vllm_cpp_mlx UNKNOWN IMPORTED)
  set_target_properties(vllm_cpp_mlx PROPERTIES
    IMPORTED_LOCATION "${mlx_library}"
    INTERFACE_INCLUDE_DIRECTORIES "${mlx_root}/include"
    INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${mlx_root}/include")
  add_library(vllm_cpp::mlx ALIAS vllm_cpp_mlx)
endfunction()