We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5620e74 commit 3d18509Copy full SHA for 3d18509
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 SHARED runtime/inmemoryfs/inmemory_filesystem_py.cpp)
220
221
+ target_compile_options(executorchcoreml PUBLIC -mmacosx-version-min=10.15 -g)
222
+ target_link_libraries(executorchcoreml PRIVATE coreml_util)
223
+ target_link_libraries(executorchcoreml PRIVATE coreml_inmemoryfs)
224
+endif()
0 commit comments