diff options
author | Inki Dae <inki.dae@samsung.com> | 2020-12-21 16:48:37 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2020-12-21 16:48:37 +0900 |
commit | 08e363cd3c87e4af2a7947b8f9dd6e9f144e2e95 (patch) | |
tree | 4d177b2d7aef64bc36d5e2ce3e4a4598eb3aae2c /packaging | |
parent | 8af6849ff5f07041874f6e6bc08113ae71aad897 (diff) | |
download | armnn-sandbox/daeinki/armnn_20_11_gpu_delegate.tar.gz armnn-sandbox/daeinki/armnn_20_11_gpu_delegate.tar.bz2 armnn-sandbox/daeinki/armnn_20_11_gpu_delegate.zip |
Add tflite gpu delegate supportsandbox/daeinki/armnn_20_11_gpu_delegate
Change-Id: I5631bc251521e482308a3fcfebe52cf26594e4d9
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/armnn.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/armnn.spec b/packaging/armnn.spec index fb22624f9..37045470c 100644 --- a/packaging/armnn.spec +++ b/packaging/armnn.spec @@ -39,6 +39,7 @@ BuildRequires: boost-devel %if 0%{?TF_LITE_SUPPORT} == 1 BuildRequires: tensorflow-lite-devel BuildRequires: tensorflow-lite-flatbuf-schema +BuildRequires: tensorflow2-lite-devel %endif %endif @@ -118,10 +119,16 @@ cmake -DARMCOMPUTENEON=1 \ -DBUILD_TF_LITE_PARSER=1 \ -DTF_LITE_GENERATED_PATH=./externals/tflite/usr/include/tensorflow/lite/schema \ -DTF_LITE_SCHEMA_PATH=./externals/tflite/usr/share/tensorflow/lite/schema \ + -DTensorflow_INCLUDE_DIR=/usr/include/ \ + -DTfLite_INCLUDE_DIR=/usr/include/tensorflow2/ \ + -DTensorflow_LIB=/usr/lib/ \ + -DTfLite_LIB=/usr/lib/libtensorflow2-lite.a \ + -DTfLite_Schema_INCLUDE_PATH=./externals/tflite/usr/share/tensorflow/lite/schema \ -DFLATBUFFERS_INCLUDE_PATH=/usr/include/ \ -DFLATC=/usr/bin/flatc \ %endif # TF_LITE_SUPPORT -DBUILD_TESTS=1 \ + -DBUILD_ARMNN_TFLITE_DELEGATE=1 \ -DARMCOMPUTE_CORE_LIBRARY_DEBUG=%{_libdir}/libarm_compute_core.so \ -DARMCOMPUTE_CORE_LIBRARY_RELEASE=%{_libdir}/libarm_compute_core.so \ -DARMCOMPUTE_LIBRARY_DEBUG=%{_libdir}/libarm_compute.so \ |