forked from pool/onednn
Accepting request 897397 from home:susnux:branches:science:machinelearning
Update to version 2.2.3 OBS-URL: https://build.opensuse.org/request/show/897397 OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/onednn?expand=0&rev=10
This commit is contained in:
15
onednn.spec
15
onednn.spec
@@ -31,14 +31,16 @@
|
||||
|
||||
%define libname libdnnl2
|
||||
Name: onednn
|
||||
Version: 2.2.2
|
||||
Version: 2.2.3
|
||||
Release: 0
|
||||
Summary: Intel Math Kernel Library for Deep Neural Networks
|
||||
License: Apache-2.0
|
||||
URL: https://01.org/onednn
|
||||
Source0: https://github.com/oneapi-src/oneDNN/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM - https://github.com/oneapi-src/oneDNN/pull/1045
|
||||
Patch1: onednn-1045.patch
|
||||
Source0: https://github.com/oneapi-src/oneDNN/archive/v%{version}/oneDNN-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM onednn-1045.patch -- https://github.com/oneapi-src/oneDNN/pull/1045
|
||||
Patch0: onednn-1045.patch
|
||||
# PATCH-FIX-UPSTREAM 0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch
|
||||
Patch1: 0001-common-gpu-include-thread-and-limit-headers-to-fix-G.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
@@ -114,8 +116,7 @@ Intel MKL-DNN contains vectorized and threaded building blocks that you can use
|
||||
to implement deep neural networks (DNN) with C and C++ interfaces.
|
||||
|
||||
%prep
|
||||
%setup -q -n oneDNN-%{version}
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n oneDNN-%{version}
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
@@ -169,6 +170,7 @@ popd
|
||||
%{_datadir}/benchdnn
|
||||
|
||||
%files devel
|
||||
%doc README.md
|
||||
%{_includedir}/mkl-dnn
|
||||
%{_includedir}/mkldnn*.h*
|
||||
%{_includedir}/dnnl*.h*
|
||||
@@ -187,7 +189,6 @@ popd
|
||||
|
||||
%files -n %{libname}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/libdnnl.so.*
|
||||
%{_libdir}/libmkldnn.so.*
|
||||
|
||||
|
Reference in New Issue
Block a user