ARMNN needs xxd binary to dump a given file with hex type
when compiling.
Change-Id: I0802c3cd5749173d8856781b98573e8585add862
Signed-off-by: Inki Dae <inki.dae@samsung.com>
#protoc tensorflow/core/lib/core/*.proto --cpp_out=.
#cd -
+# ARMNN needs xxd to dump a given file with hex type when compiling.
+mkdir -p %{buildroot}%{_bindir}
+cp packaging/xxd %{buildroot}/%{_bindir}/
+chmod 777 %{buildroot}/%{_bindir}/xxd
+export PATH=$PATH:%{buildroot}/%{_bindir}
+
#build ArmNN
cmake -DARMCOMPUTENEON=1 \
%if 0%{?OPEN_CL_SUPPORT} == 1