Fix Windows build:
authorRob Hughes <robert.hughes@arm.com>
Fri, 23 Aug 2019 09:11:58 +0000 (10:11 +0100)
committerRob Hughes <robert.hughes@arm.com>
Fri, 23 Aug 2019 09:16:16 +0000 (09:16 +0000)
commit91e1d89ad35ad081a4d5995d541791fbefdb3060
tree57022df335b5ccd38aa697394f97d12e6bfd3db5
parent1cd451cdd818e7df83cf60935abc54345fbc40e6
Fix Windows build:

* CMake "install" commands require a RUNTIME argument for platforms with
DLLs (e.g. Windows).
* Replace use of non-standard variable length array with vector
* Remove unnecessary #include of unistd.h
* Add #ifdefs to dynamic backend code to disable for non-Unix platforms
where you can't use dlopen etc. We could implement this properly for Windows
later using LoadLibrary etc., but for now erroring is fine.
* Add missing #include of <algorithm>

Change-Id: Ic8ef5fd599b37bf8772510157b6e479819f6a1eb
CMakeLists.txt
src/armnn/layers/StackLayer.cpp
src/armnnTfLiteParser/CMakeLists.txt
src/armnnTfLiteParser/test/LoadModel.cpp
src/backends/backendsCommon/DynamicBackendUtils.cpp
src/backends/backendsCommon/DynamicBackendUtils.hpp
src/backends/reference/RefMemoryManager.cpp