How to build XNNPACK with cmake for IOS.
Mrlyk423 opened this issue · comments
I find that the supported CMAKE_SYSTEM_NAME in the CMakeLists.txt is only Darwin|Linux|Android|Windows|CYGWIN|MSYS. So how can I build XNNPACK with cmake for IOS.
I don't think we ever tested it, but it is supposed to work with this toolchain.
@Maratyszcza I build xnnpack with IOS toolchain, but fail with the following errors:
CMake Error at ../xnnpack/CMakeLists.txt:86 (MESSAGE): Unrecognized CMAKE_SYSTEM_NAME = iOS
@Maratyszcza Sorry for replying to this closed issue, but I was also trying to build xnnpack for iOS using cmake, with the toolchain mentioned above. I also got the same error:
@Maratyszcza I build xnnpack with IOS toolchain, but fail with the following errors:
CMake Error at ../xnnpack/CMakeLists.txt:86 (MESSAGE): Unrecognized CMAKE_SYSTEM_NAME = iOS
It looks like iOS build with CMake is not supported yet. Will there be any plan to add this support in the future?