public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/onednn] xpu-support-single-build: Initial import for onednn
Date: Mon, 19 Oct 2026 21:40:20 GMT	[thread overview]
Message-ID: <179244602037.1.13706174347989619371.rpms-onednn-6fa802a6996a@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-19 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179244602037.1.13706174347989619371.rpms-onednn-6fa802a6996a@fedoraproject.org \
    --to=kwizart@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox