## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: onednn Version: 3.6.2 Release: %autorelease Summary: oneAPI Deep Neural Network Library License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MIT URL: https://github.com/oneapi-src/oneDNN/ Source0: %{url}/archive/v%{version}/onednn-%{version}.tar.gz # This package only work in 64bit arches for now ExclusiveArch: x86_64 aarch64 ppc64le s390x BuildRequires: make 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 oneAPI Deep Neural Network Library (oneDNN) is an open-source cross-platform performance library of basic building blocks for deep learning applications. oneDNN is part of oneAPI. The library is optimized for Intel(R) Architecture Processors, Intel Graphics, and Arm* 64-bit Architecture (AArch64)-based processors. oneDNN has experimental support for the following architectures: NVIDIA* GPU, OpenPOWER* Power ISA (PPC64), IBMz* (s390x), and RISC-V. oneDNN is intended for deep learning applications and framework developers interested in improving application performance on Intel CPUs and GPUs. %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 %cmake \ -DDNNL_ARCH_OPT_FLAGS="" \ -DDNNL_BUILD_EXAMPLES=OFF \ -DCMAKE_C_STD=11 \ -DCMAKE_CPP_STD=17 \ -DONEDNN_GPU_RUNTIME=OCL %cmake_build %install %cmake_install # Remove docs rm -rf %{buildroot}%{_docdir}/dnnl %ldconfig_scriptlets # Some ocl/gpu tests will fails if lacking an appropriate implementation %{?_with_tests: %check %ctest } %files %license LICENSE THIRD-PARTY-PROGRAMS %doc README.md CONTRIBUTING.md CODE_OF_CONDUCT.md %{_libdir}/libdnnl.so.3 %{_libdir}/libdnnl.so.3.* %files devel %dir %{_includedir}/oneapi %{_includedir}/oneapi/dnnl %{_includedir}/dnnl*.h* %{_libdir}/libdnnl.so %dir %{_libdir}/cmake/dnnl %{_libdir}/cmake/dnnl/*.cmake %changelog ## START: Generated by rpmautospec * Mon Dec 09 2024 Ali Erdinc Koroglu - 3.6.2-1 - Update to 3.6.2 (rhbz#2330753) * Wed Nov 06 2024 Ali Erdinc Koroglu - 3.6.1-1 - Update to 3.6.1 (rhbz#2314033) * Mon Oct 21 2024 Adam Jackson - 3.5.3-5 - Fix OpenCL build on ppc64le * Wed Sep 18 2024 Ali Erdinc Koroglu - 3.5.3-4 - disable GPU support for ppc64le * Wed Sep 18 2024 Ali Erdinc Koroglu - 3.5.3-3 - typo fix * Wed Sep 18 2024 Ali Erdinc Koroglu - 3.5.3-2 - enable OpenCL graph compiler backend for GPU support * Fri Aug 16 2024 Nicolas Chauvet - 3.5.3-1 - Update to 3.5.3 * Sun Jul 28 2024 Nicolas Chauvet - 3.5.2-1 - Update to 3.5.2 * Thu Jul 18 2024 Fedora Release Engineering - 3.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Nicolas Chauvet - 3.5.1-1 - Update to 3.5.1 * Thu Jul 04 2024 Nicolas Chauvet - 3.4.3-2 - Update sources * Thu Jul 04 2024 Nicolas Chauvet - 3.4.3-1 - Update to 3.4.3 * Fri May 31 2024 Nicolas Chauvet - 3.4.2-5 - Add fix for s390x * Fri May 31 2024 Nicolas Chauvet - 3.4.2-4 - Add Fix for s390x * Fri May 24 2024 Nicolas Chauvet - 3.4.2-1 - Update to 3.4.2 * Fri Apr 19 2024 Nicolas Chauvet - 3.3.6-1 - Update to 3.3.6 * Wed Feb 07 2024 Nicolas Chauvet - 3.3.4-1 - Update to 3.3.4 * Thu Jan 25 2024 Fedora Release Engineering - 3.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 3.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Dec 20 2023 Nicolas Chauvet - 3.3.3-1 - Update to 3.3.3 * Sat Dec 02 2023 Nicolas Chauvet - 3.3.2-1 - Update to 3.3.2 * Fri Oct 13 2023 Nicolas Chauvet - 3.3-1 - Update to 3.3 * Mon Sep 04 2023 Nicolas Chauvet - 3.2.1-1 - Update to 3.2.1 * Thu Jul 20 2023 Fedora Release Engineering - 3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 26 2023 Nicolas Chauvet - 3.2-1 - Update to 3.2 * Mon Jun 12 2023 Nicolas Chauvet - 3.1.1-1 - Update to 3.1.1 * Thu May 04 2023 Nicolas Chauvet - 3.1-1 - Update to 3.1 * Mon Mar 06 2023 Ali Erdinc Koroglu - 3.0.1-2 - oneDNN did not migrate the latest fujitsu/xbyak_aarch64 yet * Mon Mar 06 2023 Ali Erdinc Koroglu - 3.0.1-1 - Update to 3.0.1 * Sat Feb 11 2023 Ali Erdinc Koroglu - 3.0-1 - Update to 3.0 * Thu Jan 19 2023 Fedora Release Engineering - 2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 28 2022 Nicolas Chauvet - 2.7-1 - Update to 2.7 * Wed Aug 10 2022 Nicolas Chauvet - 2.6.1-1 - Update to 2.6.1 * Fri Jul 22 2022 Fedora Release Engineering - 2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Nicolas Chauvet - 2.6-1 - Update to 2.6 - Drop previous compat libraries * Thu Jan 20 2022 Fedora Release Engineering - 2.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 06 2021 Nicolas Chauvet - 2.4.4-1 - Update to 2.4.4 * Fri Oct 08 2021 Nicolas Chauvet - 2.4-1 - Update to 2.4 * Mon Aug 16 2021 Nicolas Chauvet - 2.3.2-2 - Enable s390x - Enable ctest - Fix compilation issue on non-x86 arches * Mon Aug 16 2021 Nicolas Chauvet - 2.3.2-1 - Update to 2.3.2 * Thu Jul 22 2021 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed May 26 2021 Nicolas Chauvet - 2.2.2-1 - Update to 2.2.2 * Sat Apr 03 2021 Nicolas Chauvet - 2.2-1 - Update to 2.2 * Tue Mar 30 2021 Jonathan Wakely - 2.1-2 - Rebuilt for removed libstdc++ symbol (#1937698) * Wed Feb 17 2021 Nicolas Chauvet - 2.1-1 - Update to 2.1 * Tue Jan 26 2021 Fedora Release Engineering - 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Aug 03 2020 Nicolas Chauvet - 1.6-1 - Update to 1.6 * Sat Aug 01 2020 Fedora Release Engineering - 1.5-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Nicolas Chauvet - 1.5-1 - Update to 1.5 - Enable aarch64 * Mon Apr 20 2020 Nicolas Chauvet - 1.4-1 - Update to 1.4 * Sat Apr 04 2020 Nicolas Chauvet - 1.3-1 - Update to 1.3 - Switch to onednn * Sat Apr 6 2019 Nicolas Chauvet - 0.18.1-1 - Initial spec file. ## END: Generated by rpmautospec