summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2020-07-31 14:39:13 +0900
committerInki Dae <inki.dae@samsung.com>2020-07-31 14:39:13 +0900
commita5ede2282c1fb9efccb4cd5f4328576586267809 (patch)
tree3441bd88ffaeb3bc2d62041d527e6aeee29c4240
parent93416cc4b87f70a493109ba65f03fd14add79120 (diff)
downloadarmnn-a5ede2282c1fb9efccb4cd5f4328576586267809.tar.gz
armnn-a5ede2282c1fb9efccb4cd5f4328576586267809.tar.bz2
armnn-a5ede2282c1fb9efccb4cd5f4328576586267809.zip
packaging: Add xxd binary for aarch64 and fix pathsubmit/tizen/20200731.060745accepted/tizen/unified/20200803.122228
Change-Id: I139ca1fcbff020985e6d0f1a165f53ecbdcf9d32 Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--packaging/armnn.spec15
-rwxr-xr-x[-rw-r--r--]packaging/xxdbin38544 -> 38544 bytes
-rwxr-xr-xpackaging/xxd64bin0 -> 18448 bytes
3 files changed, 11 insertions, 4 deletions
diff --git a/packaging/armnn.spec b/packaging/armnn.spec
index 35e112418..9ff541622 100644
--- a/packaging/armnn.spec
+++ b/packaging/armnn.spec
@@ -76,8 +76,15 @@ cp %{SOURCE1001} .
# ARMNN needs xxd to dump a given file with hex type when compiling.
mkdir -p %{buildroot}%{_bindir}
+
+%ifarch aarch64
+cp packaging/xxd64 %{buildroot}/%{_bindir}/xxd
+chmod 777 %{buildroot}/%{_bindir}/xxd
+%else
cp packaging/xxd %{buildroot}/%{_bindir}/
chmod 777 %{buildroot}/%{_bindir}/xxd
+%endif
+
export PATH=$PATH:%{buildroot}/%{_bindir}
cp packaging/%{name}.manifest ./
@@ -115,10 +122,10 @@ cmake -DARMCOMPUTENEON=1 \
-DFLATC=/usr/bin/flatc \
%endif # TF_LITE_SUPPORT
-DBUILD_TESTS=1 \
- -DARMCOMPUTE_CORE_LIBRARY_DEBUG=/usr/lib/libarm_compute_core.so \
- -DARMCOMPUTE_CORE_LIBRARY_RELEASE=/usr/lib/libarm_compute_core.so \
- -DARMCOMPUTE_LIBRARY_DEBUG=/usr/lib/libarm_compute.so \
- -DARMCOMPUTE_LIBRARY_RELEASE=/usr/lib/libarm_compute.so
+ -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 \
+ -DARMCOMPUTE_LIBRARY_RELEASE=%{_libdir}/libarm_compute.so
CPU_JOB_NUM=`grep processor /proc/cpuinfo | awk '{field=$NF};END{print field+1}'`
make -j ${CPU_JOB_NUM}
diff --git a/packaging/xxd b/packaging/xxd
index d68d05c03..d68d05c03 100644..100755
--- a/packaging/xxd
+++ b/packaging/xxd
Binary files differ
diff --git a/packaging/xxd64 b/packaging/xxd64
new file mode 100755
index 000000000..39f99840e
--- /dev/null
+++ b/packaging/xxd64
Binary files differ