public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/onednn] xpu-support-single-build: Initial import for onednn
@ 2026-10-19 21:40 Nicolas Chauvet
  0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-10-19 21:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/onednn
Branch : xpu-support-single-build
Commit : 6fa802a6996ac6c44cc3f59e6ec0daabc1a606a7
Author : Nicolas Chauvet <kwizart@gmail.com>
Date   : 2020-06-29T18:53:13+02:00
Stats  : +105/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/onednn/c/6fa802a6996ac6c44cc3f59e6ec0daabc1a606a7?branch=xpu-support-single-build

Log:
Initial import for onednn

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a92817c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+onednn-*.tar.gz

diff --git a/onednn.spec b/onednn.spec
new file mode 100644
index 0000000..6b7f96d
--- /dev/null
+++ b/onednn.spec
@@ -0,0 +1,103 @@
+Name:           onednn
+Version:        1.5
+Release:        1%{?dist}
+Summary:        Deep Neural Network Library
+
+License:        ASL 2.0 and BSD and Boost and MIT
+URL:            https://github.com/oneapi-src/oneDNN/
+Source0:        %{url}/archive/v%{version}/onednn-%{version}.tar.gz
+
+# This package only work in few arches for now
+ExclusiveArch:  x86_64 aarch64
+
+BuildRequires:  cmake
+BuildRequires:  doxygen
+BuildRequires:  gcc-c++
+
+# Optionals not yet enabled
+#BuildRequires:  pkgconfig(OpenCL)
+#BuildRequires:  pkgconfig(tbb)
+
+# Virtual provides mkldnn
+Provides: mkldnn = %{version}-%{release}
+Provides: mkl-dnn = %{version}-%{release}
+Obsoletes: mkl-dnn < 1.3
+# Provides oneDNN
+Provides: oneDNN = %{version}-%{release}
+
+
+%description
+one-API Deep Neural Network Library (oneDNN) is an open-source performance
+library for deep learning applications. The library includes basic
+building blocks for neural networks optimized for Intel Architecture
+Processors and Intel Processor Graphics.
+
+oneDNN is intended for deep learning applications and framework developers
+interested in improving application performance on Intel CPUs and
+GPUs. Deep learning practitioners should use one of the applications
+enabled with oneDNN:
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%autosetup -p1 -n oneDNN-%{version}
+
+
+%build
+mkdir -p build && cd build
+%cmake ..
+
+%make_build
+
+
+%install
+cd build
+%make_install
+
+# Remove docs
+rm -rf %{buildroot}%{_docdir}/dnnl
+
+
+%ldconfig_scriptlets
+
+
+%files
+%license LICENSE THIRD-PARTY-PROGRAMS
+%doc README.md CONTRIBUTING.md CODE_OF_CONDUCT.md
+%{_libdir}/libdnnl.so.1
+%{_libdir}/libdnnl.so.1.*
+%{_libdir}/libmkldnn.so.1
+%{_libdir}/libmkldnn.so.1.*
+
+%files devel
+%{_includedir}/mkldnn*.h*
+%{_includedir}/dnnl*.h*
+%{_libdir}/libdnnl.so
+%{_libdir}/libmkldnn.so
+%dir %{_libdir}/cmake/dnnl
+%{_libdir}/cmake/dnnl/*.cmake
+%dir %{_libdir}/cmake/mkldnn
+%{_libdir}/cmake/mkldnn/*.cmake
+
+
+%changelog
+* Tue Jun 23 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.5-1
+- Update to 1.5
+- Enable aarch64
+
+* Mon Apr 20 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.4-1
+- Update to 1.4
+
+* Sat Apr 04 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.3-1
+- Update to 1.3
+- Switch to onednn
+
+* Sat Apr  6 2019 Nicolas Chauvet <kwizart@gmail.com> - 0.18.1-1
+- Initial spec file.

diff --git a/sources b/sources
new file mode 100644
index 0000000..60a0732
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (onednn-1.5.tar.gz) = c98674a1c265a61cd9bc598ad9b273e46f575ac5af7d9bbc7d89cb5d55ae01aac6e81eaeaee6a068a8ce0329f785328ef525c67cd80465ab5c8508a368e25544

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-19 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 21:40 [rpms/onednn] xpu-support-single-build: Initial import for onednn Nicolas Chauvet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox