summaryrefslogtreecommitdiff
path: root/packaging/libcaffeonacl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/libcaffeonacl.spec')
-rw-r--r--packaging/libcaffeonacl.spec36
1 files changed, 0 insertions, 36 deletions
diff --git a/packaging/libcaffeonacl.spec b/packaging/libcaffeonacl.spec
index 2168a1d3..e2635390 100644
--- a/packaging/libcaffeonacl.spec
+++ b/packaging/libcaffeonacl.spec
@@ -27,46 +27,22 @@ BuildRequires: libarmcl-devel
%description
CaffeOnACL is a project that is maintained by OPEN AI LAB, it uses Arm Compute Library (NEON+GPU) to speed up Caffe and provide utilities to debug, profile and tune application performance.
-%ifarch aarch64
-%package -n %{name}-release-aarch64
-%else
%package -n %{name}-release
-%endif
Summary: CaffeOnACL Library
-%ifarch aarch64
-%description -n %{name}-release-aarch64
-%else
%description -n %{name}-release
-%endif
Summary: CaffeOnACL Library
-%ifarch aarch64
-%package -n %{name}-devel-aarch64
-%else
%package -n %{name}-devel
-%endif
Summary: Userspace interface and Library to CaffeOnACL
-%ifarch aarch64
-%description -n %{name}-devel-aarch64
-%else
%description -n %{name}-devel
-%endif
Summary: Userspace interface and Library to CaffeOnACL
-%ifarch aarch64
-%package -n %{name}-tools-aarch64
-%else
%package -n %{name}-tools
-%endif
Summary: Sample applications for CaffeOnACL
-%ifarch aarch64
-%description -n %{name}-tools-aarch64
-%else
%description -n %{name}-tools
-%endif
Summary: Sample applications for CaffeOnACL
%prep
@@ -100,28 +76,16 @@ cp -r %{_builddir}/%{name}-%{version}/distribute/proto/* %{buildroot}%{_included
cp -r %{_builddir}/%{name}-%{version}/.build_release/src/caffe/proto/caffe.pb.cc %{buildroot}%{_includedir}/caffe/proto/
cp -r %{_builddir}/%{name}-%{version}/distribute/include/caffe/proto/caffe.pb.h %{buildroot}%{_includedir}/caffe/proto/
-%ifarch aarch64
-%files -n %{name}-release-aarch64
-%else
%files -n %{name}-release
-%endif
%manifest %{name}.manifest
%{_libdir}/lib*
-%ifarch aarch64
-%files -n %{name}-devel-aarch64
-%else
%files -n %{name}-devel
-%endif
%manifest %{name}.manifest
%{_libdir}/lib*
%{_includedir}/caffe/*
-%ifarch aarch64
-%files -n %{name}-tools-aarch64
-%else
%files -n %{name}-tools
-%endif
%manifest %{name}.manifest
%{_libdir}/distribute/bin/*
%{_libdir}/distribute/python/*