summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2021-03-04 17:22:20 +0900
committerInki Dae <inki.dae@samsung.com>2021-04-08 12:43:50 +0900
commit9f82a022d5b6186b0a79d74d78ed889dc85d2b36 (patch)
treec9fa62ce93c5bbccfcdfd3afae64a51c5905ff65
parent43108d547033479c4bec418131286da714bd2c4a (diff)
downloadarmcl-9f82a022d5b6186b0a79d74d78ed889dc85d2b36.tar.gz
armcl-9f82a022d5b6186b0a79d74d78ed889dc85d2b36.tar.bz2
armcl-9f82a022d5b6186b0a79d74d78ed889dc85d2b36.zip
packaging: pack more header files
Change-Id: I360f46c86d62eae399cab39fb22687bc06b61405 Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--packaging/libarmcl.spec88
1 files changed, 82 insertions, 6 deletions
diff --git a/packaging/libarmcl.spec b/packaging/libarmcl.spec
index 1c6046fe5..e3a30ef09 100644
--- a/packaging/libarmcl.spec
+++ b/packaging/libarmcl.spec
@@ -75,7 +75,38 @@ mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_libdir}/data
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}/usr/include/arm_compute
-mkdir -p %{buildroot}/usr/include/arm_compute/src/core/NEON/kernels/arm_gemm
+mkdir -p %{buildroot}/usr/include/arm_compute/core
+mkdir -p %{buildroot}/usr/include/arm_compute/core/CL
+mkdir -p %{buildroot}/usr/include/arm_compute/core/utils/helpers
+mkdir -p %{buildroot}/usr/include/arm_compute/core/utils/misc
+mkdir -p %{buildroot}/usr/include/arm_compute/core/utils/quantization
+mkdir -p %{buildroot}/usr/include/arm_compute/core/experimental
+mkdir -p %{buildroot}/usr/include/arm_compute/core/CPP/kernels
+mkdir -p %{buildroot}/usr/include/arm_compute/graph
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/CPP
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/CPP/functions
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/CL
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/CL/functions
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/NEON
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/NEON/functions
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/NEON/functions/assembly
+mkdir -p %{buildroot}/usr/include/arm_compute/runtime/common
+mkdir -p %{buildroot}/usr/include/src/core/NEON/kernels/arm_gemm
+mkdir -p %{buildroot}/usr/include/src/core/NEON/kernels/arm_conv/pooling
+mkdir -p %{buildroot}/usr/include/src/core/NEON/kernels/assembly
+mkdir -p %{buildroot}/usr/include/src/core/NEON/kernels/detail
+mkdir -p %{buildroot}/usr/include/src/core/NEON/wrapper/intrinsics/
+mkdir -p %{buildroot}/usr/include/src/core/NEON/wrapper/scalar/
+mkdir -p %{buildroot}/usr/include/src/core/CL/cl_kernels
+mkdir -p %{buildroot}/usr/include/src/core/CL/gemm
+mkdir -p %{buildroot}/usr/include/src/core/CL/kernels
+mkdir -p %{buildroot}/usr/include/src/core/helpers
+mkdir -p %{buildroot}/usr/include/src/core/cpu/kernels
+mkdir -p %{buildroot}/usr/include/src/core/gpu/cl/kernels
+mkdir -p %{buildroot}/usr/include/src/core/common
+mkdir -p %{buildroot}/usr/include/src/core/CPP/kernels
+mkdir -p %{buildroot}/usr/include/src/runtime/
mkdir -p %{buildroot}/usr/include/support
mkdir -p %{buildroot}/usr/include/CL
mkdir -p %{buildroot}/usr/include/half
@@ -113,12 +144,55 @@ install -m 644 build/examples/graph_vgg19 %{buildroot}%{_bindir}
install -m 644 build/examples/neon_scale %{buildroot}%{_bindir}
%endif # NEON_SUPPORT
-cp -r %{_builddir}/%{name}-%{version}/arm_compute/* %{buildroot}/usr/include/arm_compute/
-cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/kernels/arm_gemm/* %{buildroot}/usr/include/arm_compute/src/core/NEON/kernels/arm_gemm/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/*.h* %{buildroot}/usr/include/arm_compute/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/*.inl %{buildroot}/usr/include/arm_compute/core/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/*.h* %{buildroot}/usr/include/arm_compute/core/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/CL/*.h* %{buildroot}/usr/include/arm_compute/core/CL/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/utils/helpers/*.h* %{buildroot}/usr/include/arm_compute/core/utils/helpers/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/utils/misc/*.h* %{buildroot}/usr/include/arm_compute/core/utils/misc/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/utils/quantization/*.h* %{buildroot}/usr/include/arm_compute/core/utils/quantization/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/experimental/*.h* %{buildroot}/usr/include/arm_compute/core/experimental/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/CPP/*.h* %{buildroot}/usr/include/arm_compute/core/CPP/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/core/CPP/kernels/*.h* %{buildroot}/usr/include/arm_compute/core/CPP/kernels/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/graph/*.h* %{buildroot}/usr/include/arm_compute/graph/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/*.h* %{buildroot}/usr/include/arm_compute/runtime/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/CPP/*.h* %{buildroot}/usr/include/arm_compute/runtime/CPP/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/CPP/functions/*.h* %{buildroot}/usr/include/arm_compute/runtime/CPP/functions/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/CL/*.h* %{buildroot}/usr/include/arm_compute/runtime/CL/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/CL/functions/*.h* %{buildroot}/usr/include/arm_compute/runtime/CL/functions/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/NEON/*.h* %{buildroot}/usr/include/arm_compute/runtime/NEON/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/NEON/functions/*.h* %{buildroot}/usr/include/arm_compute/runtime/NEON/functions/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/NEON/functions/assembly/*.h* %{buildroot}/usr/include/arm_compute/runtime/NEON/functions/assembly/
+cp -r %{_builddir}/%{name}-%{version}/arm_compute/runtime/common/*.h* %{buildroot}/usr/include/arm_compute/runtime/common/
+
+cp -r %{_builddir}/%{name}-%{version}/src/runtime/*.h* %{buildroot}/usr/include/src/runtime/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/*.h* %{buildroot}/usr/include/src/core/NEON/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/*.inl* %{buildroot}/usr/include/src/core/NEON/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/wrapper/*.h* %{buildroot}/usr/include/src/core/NEON/wrapper/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/wrapper/scalar/*.h* %{buildroot}/usr/include/src/core/NEON/wrapper/scalar/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/wrapper/intrinsics/*.h* %{buildroot}/usr/include/src/core/NEON/wrapper/intrinsics/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/kernels/arm_gemm/*.h* %{buildroot}/usr/include/src/core/NEON/kernels/arm_gemm/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/kernels/arm_conv/pooling/*.h* %{buildroot}/usr/include/src/core/NEON/kernels/arm_conv/pooling/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/kernels/assembly/*.h* %{buildroot}/usr/include/src/core/NEON/kernels/assembly/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/kernels/detail/*.h* %{buildroot}/usr/include/src/core/NEON/kernels/detail/
+cp -r %{_builddir}/%{name}-%{version}/src/core/NEON/kernels/*.h* %{buildroot}/usr/include/src/core/NEON/kernels/
+
+cp -r %{_builddir}/%{name}-%{version}/src/core/*.h* %{buildroot}/usr/include/src/core/
+cp -r %{_builddir}/%{name}-%{version}/src/core/common/*.h* %{buildroot}/usr/include/src/core/common/
+cp -r %{_builddir}/%{name}-%{version}/src/core/CPP/*.h* %{buildroot}/usr/include/src/core/CPP/
+cp -r %{_builddir}/%{name}-%{version}/src/core/cpu/*.h* %{buildroot}/usr/include/src/core/cpu/
+cp -r %{_builddir}/%{name}-%{version}/src/core/cpu/kernels/*.h* %{buildroot}/usr/include/src/core/cpu/kernels/
+cp -r %{_builddir}/%{name}-%{version}/src/core/gpu/cl/kernels/*.h* %{buildroot}/usr/include/src/core/gpu/cl/kernels/
+cp -r %{_builddir}/%{name}-%{version}/src/core/gpu/cl/*.h* %{buildroot}/usr/include/src/core/gpu/cl/
+cp -r %{_builddir}/%{name}-%{version}/src/core/helpers/*.h* %{buildroot}/usr/include/src/core/helpers/
+cp -r %{_builddir}/%{name}-%{version}/src/core/CL/*.h* %{buildroot}/usr/include/src/core/CL/
+cp -r %{_builddir}/%{name}-%{version}/src/core/CL/cl_kernels/*.h* %{buildroot}/usr/include/src/core/CL/cl_kernels/
+cp -r %{_builddir}/%{name}-%{version}/src/core/CL/gemm/*.h* %{buildroot}/usr/include/src/core/CL/gemm/
+cp -r %{_builddir}/%{name}-%{version}/src/core/CL/kernels/*.h* %{buildroot}/usr/include/src/core/CL/kernels/
cp -r %{_builddir}/%{name}-%{version}/support/* %{buildroot}/usr/include/support/
-cp -r %{_builddir}/%{name}-%{version}/include/CL/* %{buildroot}/usr/include/CL/
-cp -r %{_builddir}/%{name}-%{version}/include/half/* %{buildroot}/usr/include/half/
-cp -r %{_builddir}/%{name}-%{version}/include/libnpy/* %{buildroot}/usr/include/libnpy/
+cp -r %{_builddir}/%{name}-%{version}/include/CL/*.h* %{buildroot}/usr/include/CL/
+cp -r %{_builddir}/%{name}-%{version}/include/half/*.h* %{buildroot}/usr/include/half/
+cp -r %{_builddir}/%{name}-%{version}/include/libnpy/*.h* %{buildroot}/usr/include/libnpy/
%if 0%{?BENCHMARK_TEST} == 1
install -m 644 %{_builddir}/%{name}-%{version}/build/tests/arm_compute_benchmark %{buildroot}%{_bindir}
@@ -132,6 +206,8 @@ cp -r %{_builddir}/%{name}-%{version}/data/* %{buildroot}%{_libdir}/data/
%files devel
%manifest %{name}.manifest
%{_includedir}/arm_compute/*
+%{_includedir}/src/core/*
+%{_includedir}/src/runtime/*
%{_includedir}/support/*
%{_includedir}/CL/*
%{_includedir}/half/*