repo/gentoo:master commit in: sci-ml/oneDNN/

"Alfredo Tupone" <[email protected]> Sun, 02 Aug 2026 19:15:56 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785698137.8d4d23fa7ed8de86dbeafb834ff5558c89736333.tupone@gentoo>
commit:     8d4d23fa7ed8de86dbeafb834ff5558c89736333
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  2 18:39:24 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 19:15:37 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d4d23fa

sci-ml/oneDNN: drop 3.5.3, 3.6.2, 3.7.1

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/oneDNN/Manifest            |   3 -
 sci-ml/oneDNN/oneDNN-3.5.3.ebuild | 141 --------------------------------------
 sci-ml/oneDNN/oneDNN-3.6.2.ebuild | 136 ------------------------------------
 sci-ml/oneDNN/oneDNN-3.7.1.ebuild | 134 ------------------------------------
 4 files changed, 414 deletions(-)

diff --git a/sci-ml/oneDNN/Manifest b/sci-ml/oneDNN/Manifest
index bb07a0a1c2a5..a2e12f304af6 100644
--- a/sci-ml/oneDNN/Manifest
+++ b/sci-ml/oneDNN/Manifest
@@ -1,5 +1,2 @@
 DIST oneDNN-3.10.2.tar.gz 13511649 BLAKE2B 99888f0dee55cad4ce2968ad3ebeacc47c45174d5dc263c1d7a4fc060ef015fa027cf09a49f530087f8faaf9200928bf7089d11b003eaf8d861205852a749f14 SHA512 8075fbd3a93c3b070eb2d69e5e52456bfdf14eda9d3c3ed6be5a4b806ea51f0a7974f206ad6a53e62387718b875893d94d9dbd414908f442d5ecc388a458f851
 DIST oneDNN-3.11.2.tar.gz 13775696 BLAKE2B 9c037a117b52cd49327de8feaaa2f45b39ee5221b9068fe847c844c2dde4b92fb04591432d845711fcb5a5cdc8d7048c6e915279ab67be52b6d70007a457e8ca SHA512 4b7d1da7a1f3ffcdf83916f0133a741a25e1cd27a7acdc33c833f50d646931b1b666820836d3d77df0ab4e043ae18004630a62e4b7f0862b06cea8c19b68bcf6
-DIST oneDNN-3.5.3.tar.gz 13190748 BLAKE2B 04ad0a6c6edeb1d356397bcd25cb77aaa2be00ea8eed343cd088e400b10fb3d7f7658ed35797f16dbe8434fb9a2bf2c715def7a8e749271ea2c911957f9e98fc SHA512 251da59164c102a6dd3c97e92aef58a879930c0def6e9fe6e43e68e1316ed0c9844796e69eecebbde12085900bfcda6c1ab30db6df24ba9826883171c87a964d
-DIST oneDNN-3.6.2.tar.gz 13788211 BLAKE2B bc6039d24b33ac5a3f362d161b7dddbeb3f6b2b865175a1eecf66bb199d641d017b4036f7cfa18740302c96d06b2ed8d210de922136924edc309434731b16f36 SHA512 b45b6ae398ac33fdb79415395865bc34e0af35995015154df82a434bf5dc7a6ae126fb52cefc264b6abab04b2da5d60f6325f47052fa9430650c77dd54e612f6
-DIST oneDNN-3.7.1.tar.gz 14097902 BLAKE2B 0f6359e8ed00f5c58bd588576a549f4c88eb18b8734454c8435fb7a9a678abdaa17bc7fcb74a19384f6b4a63489d0464a0f97546c516b0b1f3b6d39557554432 SHA512 f7c4fea4ea16058e3197b756a2c879346698ee1189572ff0eec28e88ad3edb539c5dfcca18c36941de762b25e64f4610a40c391287294affe24ec18f3ebb4060

diff --git a/sci-ml/oneDNN/oneDNN-3.5.3.ebuild b/sci-ml/oneDNN/oneDNN-3.5.3.ebuild
deleted file mode 100644
index 74c302f46ff9..000000000000
--- a/sci-ml/oneDNN/oneDNN-3.5.3.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="${WORKDIR}/${P}_build"
-
-# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way).
-# Removing of CMake modules is disabled.
-CMAKE_REMOVE_MODULES_LIST=()
-
-# There is additional sphinx documentation but we are missing dependency doxyrest.
-inherit cmake docs multiprocessing toolchain-funcs
-
-DESCRIPTION="oneAPI Deep Neural Network Library"
-HOMEPAGE="https://github.com/oneapi-src/oneDNN"
-SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-IUSE="test mkl cblas static-libs +openmp"
-
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	mkl? ( sci-libs/mkl )
-	cblas? ( !mkl? ( virtual/cblas ) )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	openmp? (
-		|| (
-			sys-devel/gcc[openmp]
-			llvm-runtimes/clang-runtime[openmp]
-		)
-	)
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.6.2-cmake.patch
-)
-
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-	if ! use openmp ; then
-		ewarn "WARNING: oneDNN is being built with sequential runtime."
-		ewarn "Proceeding might lead to highly sub-optimal performance."
-		ewarn "Conside enabling \"openmp\" USE flag."
-	fi
-
-	local mycmakeargs=(
-		-DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED)
-		-DDNNL_CPU_RUNTIME=$(usex openmp OMP SEQ)
-		-DDNNL_GPU_RUNTIME=NONE
-		-DDNNL_BUILD_EXAMPLES=OFF
-		-DDNNL_BUILD_TESTS="$(usex test)"
-		-DDNNL_ENABLE_CONCURRENT_EXEC=OFF
-		-DDNNL_ENABLE_JIT_PROFILING=ON
-		-DDNNL_ENABLE_ITT_TASKS=ON
-		-DDNNL_ENABLE_PRIMITIVE_CACHE=ON
-		-DDNNL_ENABLE_MAX_CPU_ISA=ON
-		-DDNNL_ENABLE_CPU_ISA_HINTS=ON
-		-DDNNL_ENABLE_WORKLOAD=TRAINING
-		-DDNNL_ENABLE_PRIMITIVE=ALL
-		-DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL
-		-DDNNL_EXPERIMENTAL=OFF
-		-DDNNL_VERBOSE=ON
-		-DDNNL_DEV_MODE=OFF
-		-DDNNL_AARCH64_USE_ACL=OFF
-		-DDNNL_EXPERIMENTAL_UKERNEL=ON
-		-DDNNL_GPU_VENDOR=INTEL
-		-DDNNL_LIBRARY_NAME=dnnl
-		-DONEDNN_BUILD_GRAPH=ON
-		-DONEDNN_ENABLE_GRAPH_DUMP=OFF
-		-DONEDNN_EXPERIMENTAL_GRAPH_COMPILER_BACKEND=OFF
-		-DDNNL_ENABLE_PRIMITIVE_CPU_ISA=ALL
-		-DONEDNN_ENABLE_GEMM_KERNELS_ISA=ALL
-		-Wno-dev
-	)
-
-	if use mkl ; then
-		if [ -e "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh ]; then
-			source "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh || die
-		else
-			# bug 923109: sci-libs/mkl-2020.4.304 has no vars.sh, configure it manually
-			export CPATH="${EPREFIX}"/usr/include/mkl
-			export MKLROOT="${EPREFIX}"/usr
-		fi
-
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=MKL )
-	elif use cblas; then
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=ANY -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=-lcblas )
-	else
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=NONE )
-	fi
-
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-	docs_compile
-}
-
-src_install() {
-	cmake_src_install
-
-	# Correct docdir
-	mv "${ED}/usr/share/doc/dnnl"* "${ED}/usr/share/doc/${PF}" || die
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Crashes in sandbox (see #922886 and #923013);
-		# waits for sys-apps/sandbox-2.39 release and stabilization.
-		test_graph_unit_interface
-		test_graph_unit_dnnl_layout_propagator
-		test_graph_unit_dnnl_op_executable
-		test_graph_unit_utils
-		# Errored
-		test_graph_unit_dnnl_layer_norm_usm_cpu
-		test_graph_unit_dnnl_sdp_decomp_usm_cpu
-	)
-
-	if use openmp ; then
-		# Don't run tests in parallel, each test is already parallelized
-		OMP_NUM_THREADS=$(get_makeopts_jobs) cmake_src_test -j1
-	else
-		cmake_src_test
-	fi
-}

diff --git a/sci-ml/oneDNN/oneDNN-3.6.2.ebuild b/sci-ml/oneDNN/oneDNN-3.6.2.ebuild
deleted file mode 100644
index 1c8ea1c62dfd..000000000000
--- a/sci-ml/oneDNN/oneDNN-3.6.2.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="${WORKDIR}/${P}_build"
-
-# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way).
-# Removing of CMake modules is disabled.
-CMAKE_REMOVE_MODULES_LIST=()
-
-# There is additional sphinx documentation but we are missing dependency doxyrest.
-inherit cmake docs multiprocessing toolchain-funcs
-
-DESCRIPTION="oneAPI Deep Neural Network Library"
-HOMEPAGE="https://github.com/oneapi-src/oneDNN"
-SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="test mkl cblas static-libs +openmp"
-
-RESTRICT="test" # Some test are very long to execute
-
-DEPEND="
-	mkl? ( sci-libs/mkl )
-	cblas? ( !mkl? ( virtual/cblas ) )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	openmp? (
-		|| (
-			sys-devel/gcc[openmp]
-			llvm-runtimes/clang-runtime[openmp]
-		)
-	)
-"
-
-PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
-
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-	if ! use openmp ; then
-		ewarn "WARNING: oneDNN is being built with sequential runtime."
-		ewarn "Proceeding might lead to highly sub-optimal performance."
-		ewarn "Conside enabling \"openmp\" USE flag."
-	fi
-
-	local mycmakeargs=(
-		-DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED)
-		-DDNNL_CPU_RUNTIME=$(usex openmp OMP SEQ)
-		-DDNNL_GPU_RUNTIME=NONE
-		-DDNNL_BUILD_EXAMPLES=OFF
-		-DDNNL_BUILD_TESTS="$(usex test)"
-		-DDNNL_ENABLE_CONCURRENT_EXEC=OFF
-		-DDNNL_ENABLE_JIT_PROFILING=ON
-		-DDNNL_ENABLE_ITT_TASKS=ON
-		-DDNNL_ENABLE_PRIMITIVE_CACHE=ON
-		-DDNNL_ENABLE_MAX_CPU_ISA=ON
-		-DDNNL_ENABLE_CPU_ISA_HINTS=ON
-		-DDNNL_ENABLE_WORKLOAD=TRAINING
-		-DDNNL_ENABLE_PRIMITIVE=ALL
-		-DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL
-		-DDNNL_EXPERIMENTAL=OFF
-		-DDNNL_VERBOSE=ON
-		-DDNNL_DEV_MODE=OFF
-		-DDNNL_AARCH64_USE_ACL=OFF
-		-DDNNL_EXPERIMENTAL_UKERNEL=ON
-		-DDNNL_GPU_VENDOR=INTEL
-		-DDNNL_LIBRARY_NAME=dnnl
-		-DONEDNN_BUILD_GRAPH=ON
-		-DONEDNN_ENABLE_GRAPH_DUMP=OFF
-		-DONEDNN_EXPERIMENTAL_GRAPH_COMPILER_BACKEND=OFF
-		-DDNNL_ENABLE_PRIMITIVE_CPU_ISA=ALL
-		-DONEDNN_ENABLE_GEMM_KERNELS_ISA=ALL
-		-Wno-dev
-	)
-
-	if use mkl ; then
-		if [ -e "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh ]; then
-			source "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh || die
-		else
-			# bug 923109: sci-libs/mkl-2020.4.304 has no vars.sh, configure it manually
-			export CPATH="${EPREFIX}"/usr/include/mkl
-			export MKLROOT="${EPREFIX}"/usr
-		fi
-
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=MKL )
-	elif use cblas; then
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=ANY -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=-lcblas )
-	else
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=NONE )
-	fi
-
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-	docs_compile
-}
-
-src_install() {
-	cmake_src_install
-
-	# Correct docdir
-	mv "${ED}/usr/share/doc/dnnl"* "${ED}/usr/share/doc/${PF}" || die
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Crashes in sandbox (see #922886 and #923013);
-		# waits for sys-apps/sandbox-2.39 release and stabilization.
-		test_graph_unit_interface
-		test_graph_unit_dnnl_layout_propagator
-		test_graph_unit_dnnl_op_executable
-		test_graph_unit_utils
-	)
-
-	if use openmp ; then
-		# Don't run tests in parallel, each test is already parallelized
-		OMP_NUM_THREADS=$(get_makeopts_jobs) cmake_src_test -j1
-	else
-		cmake_src_test
-	fi
-}

diff --git a/sci-ml/oneDNN/oneDNN-3.7.1.ebuild b/sci-ml/oneDNN/oneDNN-3.7.1.ebuild
deleted file mode 100644
index 809cb020cc5b..000000000000
--- a/sci-ml/oneDNN/oneDNN-3.7.1.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="${WORKDIR}/${P}_build"
-
-# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way).
-# Removing of CMake modules is disabled.
-CMAKE_REMOVE_MODULES_LIST=()
-
-# There is additional sphinx documentation but we are missing dependency doxyrest.
-inherit cmake docs multiprocessing toolchain-funcs
-
-DESCRIPTION="oneAPI Deep Neural Network Library"
-HOMEPAGE="https://github.com/oneapi-src/oneDNN"
-SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-IUSE="test mkl cblas static-libs +openmp"
-
-RESTRICT="test" # Some test are very long to execute
-
-DEPEND="
-	mkl? ( sci-libs/mkl )
-	cblas? ( !mkl? ( virtual/cblas ) )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	openmp? (
-		|| (
-			sys-devel/gcc[openmp]
-			llvm-runtimes/clang-runtime[openmp]
-		)
-	)
-"
-
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-	if ! use openmp ; then
-		ewarn "WARNING: oneDNN is being built with sequential runtime."
-		ewarn "Proceeding might lead to highly sub-optimal performance."
-		ewarn "Conside enabling \"openmp\" USE flag."
-	fi
-
-	local mycmakeargs=(
-		-DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED)
-		-DDNNL_CPU_RUNTIME=$(usex openmp OMP SEQ)
-		-DDNNL_GPU_RUNTIME=NONE
-		-DDNNL_BUILD_EXAMPLES=OFF
-		-DDNNL_BUILD_TESTS="$(usex test)"
-		-DDNNL_ENABLE_CONCURRENT_EXEC=OFF
-		-DDNNL_ENABLE_JIT_PROFILING=ON
-		-DDNNL_ENABLE_ITT_TASKS=ON
-		-DDNNL_ENABLE_PRIMITIVE_CACHE=ON
-		-DDNNL_ENABLE_MAX_CPU_ISA=ON
-		-DDNNL_ENABLE_CPU_ISA_HINTS=ON
-		-DDNNL_ENABLE_WORKLOAD=TRAINING
-		-DDNNL_ENABLE_PRIMITIVE=ALL
-		-DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL
-		-DDNNL_EXPERIMENTAL=OFF
-		-DDNNL_VERBOSE=ON
-		-DDNNL_DEV_MODE=OFF
-		-DDNNL_AARCH64_USE_ACL=OFF
-		-DDNNL_EXPERIMENTAL_UKERNEL=ON
-		-DDNNL_GPU_VENDOR=INTEL
-		-DDNNL_LIBRARY_NAME=dnnl
-		-DONEDNN_BUILD_GRAPH=ON
-		-DONEDNN_ENABLE_GRAPH_DUMP=OFF
-		-DONEDNN_EXPERIMENTAL_GRAPH_COMPILER_BACKEND=OFF
-		-DDNNL_ENABLE_PRIMITIVE_CPU_ISA=ALL
-		-DONEDNN_ENABLE_GEMM_KERNELS_ISA=ALL
-		-Wno-dev
-	)
-
-	if use mkl ; then
-		if [ -e "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh ]; then
-			source "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh || die
-		else
-			# bug 923109: sci-libs/mkl-2020.4.304 has no vars.sh, configure it manually
-			export CPATH="${EPREFIX}"/usr/include/mkl
-			export MKLROOT="${EPREFIX}"/usr
-		fi
-
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=MKL )
-	elif use cblas; then
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=ANY -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=-lcblas )
-	else
-		mycmakeargs+=( -DDNNL_BLAS_VENDOR=NONE )
-	fi
-
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-	docs_compile
-}
-
-src_install() {
-	cmake_src_install
-
-	# Correct docdir
-	mv "${ED}/usr/share/doc/dnnl"* "${ED}/usr/share/doc/${PF}" || die
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Crashes in sandbox (see #922886 and #923013);
-		# waits for sys-apps/sandbox-2.39 release and stabilization.
-		test_graph_unit_interface
-		test_graph_unit_dnnl_layout_propagator
-		test_graph_unit_dnnl_op_executable
-		test_graph_unit_utils
-	)
-
-	if use openmp ; then
-		# Don't run tests in parallel, each test is already parallelized
-		OMP_NUM_THREADS=$(get_makeopts_jobs) cmake_src_test -j1
-	else
-		cmake_src_test
-	fi
-}