Maratyszcza / NNPACK

Acceleration package for neural networks on multi-core CPUs
BSD 2-Clause "Simplified" License
1.68k stars 316 forks source link

adapts CMAKE_SYSTEM_NAME filter for CMake 3.14 #176

Closed dipidoo closed 4 years ago

dipidoo commented 4 years ago

Accepts iOS for CMAKE_SYSTEM_NAME.

175

dipidoo commented 4 years ago

Hi, thank you for merging this PR. Travis failed and I took a deeper look, seems benchmark_name.cc is not included in libgooglebenchmark.a. I am not familiar with how configure.py generates build.ninja, but I added benchmark_name.cc.o manually and the build succeeded using the recommended steps in README.md. The builds I used in validating this PR have been through CMakeLists.txt directly.