SHA256
1
0
forked from pool/armnn
armnn/armnn-fix_tensorflow_link.patch
Guillaume GARDET 6670a974c5 Accepting request 728506 from home:Guillaume_G:branches:science:machinelearning
- Disable TensorFlow as on 15.1 only x86_64 succeed and on TW we 
  have incompatibility with protobuf (3.8.0 in TW and 
  Tensorflow uses 3.6.1 internally)

- Update to 19.08:
- Changelog: https://github.com/ARM-software/armnn/releases/tag/v19.08
- Remove upstreamed patch:
  * armnn-fix_quantizer_link.patch
  * armnn-fix_caffe_parser_with_new_protobuf.patch
- Refresh patch:
  * armnn-generate-versioned-library.patch 
- Drop patches not needed anymore:
  * armnn-remove_broken_std_move.patch
  * armnn-fix_build_with_gcc9.patch

- Disable LTO until lto link is fixed
  https://github.com/ARM-software/armnn/issues/251

- Fix build in Tumbleweed, with latest protobuf:
  * armnn-fix_caffe_parser_with_new_protobuf.patch 

- Enable Tensorflow parser
- Fix link with Tensorflow:
  * armnn-fix_tensorflow_link.patch

OBS-URL: https://build.opensuse.org/request/show/728506
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/armnn?expand=0&rev=6
2019-09-05 13:03:11 +00:00

14 lines
436 B
Diff

--- armnn-19.05.orig/CMakeLists.txt 2019-06-11 14:59:25.672794989 +0200
+++ armnn-19.05/CMakeLists.txt 2019-06-11 15:02:26.738442920 +0200
@@ -439,6 +439,10 @@ if(ARMCOMPUTECL)
target_link_libraries(armnn ${OPENCL_LIBRARIES})
endif()
+if(BUILD_TF_PARSER)
+ target_link_libraries(armnnTfParser tensorflow_cc tensorflow_framework)
+endif()
+
if(PROFILING_BACKEND_STREAMLINE)
target_link_libraries(armnn pthread)
endif()