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