We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05b129a commit eaddcd2Copy full SHA for eaddcd2
backends/apple/coreml/CMakeLists.txt
@@ -217,3 +217,13 @@ install(
217
INCLUDES
218
DESTINATION ${_common_include_directories}
219
)
220
+
221
+if(EXECUTORCH_BUILD_COREML)
222
+ add_subdirectory(${EXECUTORCH_ROOT}/third-party/pybind11 ${CMAKE_CURRENT_BINARY_DIR}/pybind11)
223
224
+ pybind11_add_module(executorchcoreml SHARED runtime/inmemoryfs/inmemory_filesystem_py.cpp)
225
226
+ target_compile_options(executorchcoreml PUBLIC -mmacosx-version-min=10.15 -g)
227
+ target_link_libraries(executorchcoreml PRIVATE coreml_util)
228
+ target_link_libraries(executorchcoreml PRIVATE coreml_inmemoryfs)
229
+endif()
0 commit comments