summaryrefslogtreecommitdiff
path: root/dev-libs/oneDNN
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-16 00:29:23 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-16 00:29:23 +0000
commit18f850bb4cedde39678b12a67f82f29eef2dab63 (patch)
tree2f545c16653e3357cfdd14bf26b623d62cc18eba /dev-libs/oneDNN
parentbcdfc870ecd1de7eea04df21ec3a069328b2e29f (diff)
gentoo auto-resync : 16:03:2025 - 00:29:23
Diffstat (limited to 'dev-libs/oneDNN')
-rw-r--r--dev-libs/oneDNN/Manifest5
-rw-r--r--dev-libs/oneDNN/metadata.xml24
-rw-r--r--dev-libs/oneDNN/oneDNN-3.5.3.ebuild134
-rw-r--r--dev-libs/oneDNN/oneDNN-3.6.2.ebuild134
4 files changed, 0 insertions, 297 deletions
diff --git a/dev-libs/oneDNN/Manifest b/dev-libs/oneDNN/Manifest
deleted file mode 100644
index d1e6fd3277ac..000000000000
--- a/dev-libs/oneDNN/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST oneDNN-3.5.3.tar.gz 13190748 BLAKE2B 04ad0a6c6edeb1d356397bcd25cb77aaa2be00ea8eed343cd088e400b10fb3d7f7658ed35797f16dbe8434fb9a2bf2c715def7a8e749271ea2c911957f9e98fc SHA512 251da59164c102a6dd3c97e92aef58a879930c0def6e9fe6e43e68e1316ed0c9844796e69eecebbde12085900bfcda6c1ab30db6df24ba9826883171c87a964d
-DIST oneDNN-3.6.2.tar.gz 13788211 BLAKE2B bc6039d24b33ac5a3f362d161b7dddbeb3f6b2b865175a1eecf66bb199d641d017b4036f7cfa18740302c96d06b2ed8d210de922136924edc309434731b16f36 SHA512 b45b6ae398ac33fdb79415395865bc34e0af35995015154df82a434bf5dc7a6ae126fb52cefc264b6abab04b2da5d60f6325f47052fa9430650c77dd54e612f6
-EBUILD oneDNN-3.5.3.ebuild 3438 BLAKE2B 4c171d87194fdc887cd072341a4209c1af32983abf7cfd6a9faae84a00883b10fd75fd08b0fd1ddb3dcb1048f06316d1acfef85931fd9d2341156d59736bac3c SHA512 387104f8d10868e5598ab03db78e70c5b309260b2997909e0420ff3ac7e434d260e6e50a37ce5327ea91da9121956167f60f0e266482a32c1e32e939d7378450
-EBUILD oneDNN-3.6.2.ebuild 3464 BLAKE2B f7e07e3a0ebf0f8a1baace4b01e5bdc99d98fd27749a79ca94a55be4122f4143be15b4cc5a9d64fd1030e565b4516bfc75ef572bb400e26b3bb445022ae8f2ce SHA512 6d7c3f78d3f80f82810eab65349187000d3eed9e26d2fd8b37a1f26eb6e3df774ef96dc477baa8a6b0a7a46253a4976bd4dc63dd0baa95af0281b6efb15f4da6
-MISC metadata.xml 777 BLAKE2B 33c65c97e0c8132e315aa389c395407e8985fbe1607222f2affb04534c33e4df14776d90f3293fc651d7892f703cc8eff5803d075291c979bcd828aa51ab1778 SHA512 9b0c2354f69d0e2656bba2995fb956f16d6fad65887f240b670548d244074e7fe92bff73afd379e9d9a208c39ac7da01de97463aa65c37dd51aded32228aafd3
diff --git a/dev-libs/oneDNN/metadata.xml b/dev-libs/oneDNN/metadata.xml
deleted file mode 100644
index 1e6efe71ca6a..000000000000
--- a/dev-libs/oneDNN/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
- </maintainer>
- <maintainer type="person">
- <email>lockalsash@gmail.com</email>
- <name>Sv. Lockal</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/oneapi-src/oneDNN/issues</bugs-to>
- <remote-id type="github">oneapi-src/oneDNN</remote-id>
- </upstream>
- <use>
- <flag name="mkl">Use sci-libs/mkl for sgemm routines</flag>
- <flag name="cblas">Use virtual/cblas for sgemm routines</flag>
- </use>
-</pkgmetadata>
diff --git a/dev-libs/oneDNN/oneDNN-3.5.3.ebuild b/dev-libs/oneDNN/oneDNN-3.5.3.ebuild
deleted file mode 100644
index 04038fbfb7d6..000000000000
--- a/dev-libs/oneDNN/oneDNN-3.5.3.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 2024 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=( none )
-
-# 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-core/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=$(makeopts_jobs) cmake_src_test -j1
- else
- cmake_src_test
- fi
-}
diff --git a/dev-libs/oneDNN/oneDNN-3.6.2.ebuild b/dev-libs/oneDNN/oneDNN-3.6.2.ebuild
deleted file mode 100644
index 37ecee99a83b..000000000000
--- a/dev-libs/oneDNN/oneDNN-3.6.2.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 2024 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=( none )
-
-# 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-core/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=$(makeopts_jobs) cmake_src_test -j1
- else
- cmake_src_test
- fi
-}