diff options
author | Inki Dae <inki.dae@samsung.com> | 2020-05-29 14:36:25 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2021-04-19 13:58:54 +0900 |
commit | 990342b7eec304e431c0ad8649fd13dd9d55752f (patch) | |
tree | ae22fc6804963d3b6e0affd78977ac20cc9aea04 | |
parent | bb195720565303f05ea7403ec2792b3ff1eb4aad (diff) | |
download | armnn-990342b7eec304e431c0ad8649fd13dd9d55752f.tar.gz armnn-990342b7eec304e431c0ad8649fd13dd9d55752f.tar.bz2 armnn-990342b7eec304e431c0ad8649fd13dd9d55752f.zip |
packaging: Install xxd binary
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>
-rw-r--r-- | packaging/armnn.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/armnn.spec b/packaging/armnn.spec index 6c97e8591..1cd0839c2 100644 --- a/packaging/armnn.spec +++ b/packaging/armnn.spec @@ -68,6 +68,12 @@ cp %{SOURCE1001} . #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 |