Build for Apple Silicon using Xcode 15#217
Build for Apple Silicon using Xcode 15#217pedrolinhares wants to merge 1 commit intoopenvinotoolkit:v3.2_for_ie_masterfrom
Conversation
|
@pedrolinhares, thanks for bringing up the issue. Proposed solution looks a bit like a workaround, as it adds a dummy C++ file to trick XCode into doing the right thing. What would be the proper way to link object libraries with XCode? |
|
@vpirogov This workaround seems to be the recommended solution. We need to add a real source since I didn't know which real source to link (since it's already in the object lib), adding a dummy cpp solves the problem. Also, from cmake's documentation: If you could help point out which real sources to build the library with that would be ideal. |
Description
Fixes to build on Apple Silicon using cmake's Xcode generator. Due to library being built only with OBJECT libraries, Xcode is unable to correctly build the library. In this case, we need to add at least one cpp source to the library build in order to Xcode to correctly build the target.
Fixes # (github issue)
Checklist
General
make testandmake test_benchdnn_*) pass locally for each commit?Performance improvements
New features
Bug fixes
RFC PR