packaging: use internal schema file and copy manifest file
authorInki Dae <inki.dae@samsung.com>
Mon, 15 Mar 2021 09:26:31 +0000 (18:26 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 19 Apr 2021 04:59:02 +0000 (13:59 +0900)
Change-Id: I078dd3bc37737eb6ca57eb94e9485b5e9b77fdc1
Signed-off-by: Inki Dae <inki.dae@samsung.com>
packaging/armnn.spec

index 1cd0839..e0338f1 100644 (file)
@@ -73,6 +73,7 @@ mkdir -p %{buildroot}%{_bindir}
 cp packaging/xxd %{buildroot}/%{_bindir}/
 chmod 777 %{buildroot}/%{_bindir}/xxd
 export PATH=$PATH:%{buildroot}/%{_bindir}
+cp packaging/%{name}.manifest ./
 
 #build ArmNN
 cmake -DARMCOMPUTENEON=1                                                                                       \
@@ -88,8 +89,8 @@ cmake -DARMCOMPUTENEON=1                                                                                      \
 %endif # CAFFE_SUPPORT
 %if 0%{?TF_LITE_SUPPORT} == 1
       -DBUILD_TF_LITE_PARSER=1                                                                         \
-      -DTF_LITE_GENERATED_PATH=/usr/include/tensorflow/lite/schema     \
-      -DTF_LITE_SCHEMA_PATH=/usr/share/tensorflow/lite/schema          \
+      -DTF_LITE_SCHEMA_INCLUDE_PATH=tensorflow/contrib/lite/schema     \
+      -DTF_LITE_SCHEMA_PATH=tensorflow/contrib/lite/schema                     \
       -DFLATBUFFERS_INCLUDE_PATH=/usr/include/                                         \
       -DFLATC=/usr/bin/flatc                                                                           \
 %endif # TF_LITE_SUPPORT