From bc0079aeff8ace0b90492b36c663a8bb2664b9ec Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Tue, 8 Oct 2019 14:35:01 +0900 Subject: [PATCH] packaging: update spec file for acl v19.11 support This patch updates the spec file for acl v19.11 support and drops TF parser support because it needs latest protobuf, >= 3.7.1 Change-Id: Ic067b032790a3b60fa6b359bead66c67c7bbde09 Signed-off-by: Inki Dae --- packaging/armnn.spec | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/packaging/armnn.spec b/packaging/armnn.spec index 4cd2254..72b5c4f 100644 --- a/packaging/armnn.spec +++ b/packaging/armnn.spec @@ -1,5 +1,5 @@ Name: armnn -Version: 19.02 +Version: 19.11 Release: 0 License: MIT License Summary: Arm Neural Networks library @@ -11,8 +11,34 @@ ExclusiveArch: %arm aarch64 BuildRequires: curl BuildRequires: cmake #BuildRequires: libarmcl-devel -#BuildRequires: protobuf-devel -#BuildRequires: boost-devel +BuildRequires: protobuf-devel +BuildRequires: icu +BuildRequires: libicu-devel +BuildRequires: libicu-tzdata +%if 0 +BuildRequires: boost-atomic +BuildRequires: boost-chrono +BuildRequires: boost-container +BuildRequires: boost-context +BuildRequires: boost-coroutine +BuildRequires: boost-date-time +BuildRequires: boost-fiber +BuildRequires: boost-filesystem +BuildRequires: boost-graph +BuildRequires: boost-iostreams +BuildRequires: boost-jam +BuildRequires: boost-locale +BuildRequires: boost-log +BuildRequires: boost-math +BuildRequires: boost-program-options +BuildRequires: boost-random +BuildRequires: boost-regex +BuildRequires: boost-serialization +BuildRequires: boost-signals +BuildRequires: boost-system +BuildRequires: boost-devel +%endif +BuildRequires: tensorflow-lite-devel #BuildRequires:libcaffeonacl-devel %description @@ -57,10 +83,8 @@ cmake -DARMCOMPUTENEON=1 \ -DCMAKE_SKIP_RPATH=1 \ -DBUILD_CAFFE_PARSER=1 \ -DCAFFE_GENERATED_SOURCES=/usr/include \ - -DTF_GENERATED_SOURCES=./ \ - -DBUILD_TF_PARSER=1 \ - -DTF_LITE_GENERATED_PATH=./tensorflow/contrib/lite/schema \ -DBUILD_TF_LITE_PARSER=1 \ + -DTF_LITE_GENERATED_PATH=/usr/include/tensorflow/lite/schema \ -DFLATBUFFERS_INCLUDE_PATH=/usr/include/ \ -DBUILD_TESTS=1 \ -- 2.7.4