packaging: Fix aarch64 build error 64/257264/1 accepted/tizen/unified/20210428.040451 submit/tizen/20210422.015846 submit/tizen/20210423.055448 submit/tizen/20210427.093759
authorInki Dae <inki.dae@samsung.com>
Thu, 22 Apr 2021 01:48:49 +0000 (10:48 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 22 Apr 2021 01:48:49 +0000 (10:48 +0900)
Change-Id: Ica83e9c26bdd588915710ae1efb80f7d3b93add0
Signed-off-by: Inki Dae <inki.dae@samsung.com>
packaging/armnn.spec

index e0338f1..dec7101 100644 (file)
@@ -95,10 +95,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}