[gentoo-commits] proj/sci:master commit in: dev-libs/oneDNN/

2024-03-08 Thread Andrew Ammerlaan
commit: 0791f711debf39eceb002891a40a91b33553044f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Mar  8 16:33:29 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Mar  8 16:34:58 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0791f711

dev-libs/oneDNN: moved to ::gentoo

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-libs/oneDNN/metadata.xml| 11 ---
 dev-libs/oneDNN/oneDNN-2.7.2.ebuild | 60 -
 dev-libs/oneDNN/oneDNN-3.0.1.ebuild | 60 -
 dev-libs/oneDNN/oneDNN-3.2.1.ebuild | 60 -
 4 files changed, 191 deletions(-)

diff --git a/dev-libs/oneDNN/metadata.xml b/dev-libs/oneDNN/metadata.xml
deleted file mode 100644
index 0d6dc84a7..0
--- a/dev-libs/oneDNN/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   s...@gentoo.org
-   Gentoo Science Project
-   
-   
-   oneapi-src/oneDNN
-   
-

diff --git a/dev-libs/oneDNN/oneDNN-2.7.2.ebuild 
b/dev-libs/oneDNN/oneDNN-2.7.2.ebuild
deleted file mode 100644
index 1c66ec72c..0
--- a/dev-libs/oneDNN/oneDNN-2.7.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="${WORKDIR}/${P}_build"
-# There is additional sphinx documentation but we are missing dependency 
doxyrest.
-inherit cmake docs
-
-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"
-# TODO: get the tests up and running
-#RESTRICT="!test? ( test )"
-RESTRICT="test"
-
-BDEPEND="sys-devel/DPC++"
-
-DEPEND="
-   dev-cpp/tbb:=
-   dev-libs/level-zero:=
-   virtual/opencl
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   # DPC++ compiler required for full functionality
-   export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
-   export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DDNNL_CPU_RUNTIME=DPCPP
-   -DDNNL_GPU_RUNTIME=DPCPP
-   -DDNNL_BUILD_TESTS="$(usex test)"
-   )
-   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
-   rm -r "${ED}/usr/share/doc/dnnl" || die
-}

diff --git a/dev-libs/oneDNN/oneDNN-3.0.1.ebuild 
b/dev-libs/oneDNN/oneDNN-3.0.1.ebuild
deleted file mode 100644
index 1c66ec72c..0
--- a/dev-libs/oneDNN/oneDNN-3.0.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="${WORKDIR}/${P}_build"
-# There is additional sphinx documentation but we are missing dependency 
doxyrest.
-inherit cmake docs
-
-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"
-# TODO: get the tests up and running
-#RESTRICT="!test? ( test )"
-RESTRICT="test"
-
-BDEPEND="sys-devel/DPC++"
-
-DEPEND="
-   dev-cpp/tbb:=
-   dev-libs/level-zero:=
-   virtual/opencl
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   # DPC++ compiler required for full functionality
-   export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
-   export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DDNNL_CPU_RUNTIME=DPCPP
-   -DDNNL_GPU_RUNTIME=DPCPP
-   -DDNNL_BUILD_TESTS="$(usex test)"
-   )
-   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
-   rm -r "${ED}/usr/share/doc/dnnl" || die
-}

diff --git a/dev-libs/oneDNN/oneDNN-3.2.1.ebuild 
b/dev-libs/oneDNN/oneDNN-3.2.1.ebuild
deleted file mode 100644
index 1c66ec72c..0
--- a/dev-libs/oneDNN/oneDNN-3.2.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="${WORKDIR}/${P}_build"
-# There is additional sphinx documentation but we are missing dependency 
doxyrest.
-inherit cmake docs
-
-DESCRIPTION="oneAPI De

[gentoo-commits] proj/sci:master commit in: dev-libs/oneDNN/

2023-08-22 Thread Andrew Ammerlaan
commit: 43b0e338e86fd4aecd5e50a691e4fe4600f0e014
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Aug 22 09:22:42 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Aug 22 09:22:42 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=43b0e338

dev-libs/oneDNN: add 3.2.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-libs/oneDNN/oneDNN-3.2.1.ebuild | 60 +
 1 file changed, 60 insertions(+)

diff --git a/dev-libs/oneDNN/oneDNN-3.2.1.ebuild 
b/dev-libs/oneDNN/oneDNN-3.2.1.ebuild
new file mode 100644
index 0..1c66ec72c
--- /dev/null
+++ b/dev-libs/oneDNN/oneDNN-3.2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="${WORKDIR}/${P}_build"
+# There is additional sphinx documentation but we are missing dependency 
doxyrest.
+inherit cmake docs
+
+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"
+# TODO: get the tests up and running
+#RESTRICT="!test? ( test )"
+RESTRICT="test"
+
+BDEPEND="sys-devel/DPC++"
+
+DEPEND="
+   dev-cpp/tbb:=
+   dev-libs/level-zero:=
+   virtual/opencl
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   # DPC++ compiler required for full functionality
+   export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+   export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DDNNL_CPU_RUNTIME=DPCPP
+   -DDNNL_GPU_RUNTIME=DPCPP
+   -DDNNL_BUILD_TESTS="$(usex test)"
+   )
+   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
+   rm -r "${ED}/usr/share/doc/dnnl" || die
+}



[gentoo-commits] proj/sci:master commit in: dev-libs/oneDNN/

2023-02-25 Thread Andrew Ammerlaan
commit: f02b5564d73f8718665690b4dd0ba9b89b6524d7
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Feb 25 11:24:12 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Feb 25 11:24:12 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f02b5564

dev-libs/oneDNN: add 3.0.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-libs/oneDNN/oneDNN-3.0.1.ebuild | 60 +
 1 file changed, 60 insertions(+)

diff --git a/dev-libs/oneDNN/oneDNN-3.0.1.ebuild 
b/dev-libs/oneDNN/oneDNN-3.0.1.ebuild
new file mode 100644
index 0..1c66ec72c
--- /dev/null
+++ b/dev-libs/oneDNN/oneDNN-3.0.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="${WORKDIR}/${P}_build"
+# There is additional sphinx documentation but we are missing dependency 
doxyrest.
+inherit cmake docs
+
+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"
+# TODO: get the tests up and running
+#RESTRICT="!test? ( test )"
+RESTRICT="test"
+
+BDEPEND="sys-devel/DPC++"
+
+DEPEND="
+   dev-cpp/tbb:=
+   dev-libs/level-zero:=
+   virtual/opencl
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   # DPC++ compiler required for full functionality
+   export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+   export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DDNNL_CPU_RUNTIME=DPCPP
+   -DDNNL_GPU_RUNTIME=DPCPP
+   -DDNNL_BUILD_TESTS="$(usex test)"
+   )
+   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
+   rm -r "${ED}/usr/share/doc/dnnl" || die
+}



[gentoo-commits] proj/sci:master commit in: dev-libs/oneDNN/

2022-12-09 Thread Andrew Ammerlaan
commit: 573bdf7f8b1bb93f29a86521a642b417b387dc95
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Dec  9 16:15:54 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Dec  9 16:15:54 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=573bdf7f

dev-libs/oneDNN: new package, add 2.7.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-libs/oneDNN/metadata.xml| 11 +++
 dev-libs/oneDNN/oneDNN-2.7.2.ebuild | 60 +
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/oneDNN/metadata.xml b/dev-libs/oneDNN/metadata.xml
new file mode 100644
index 0..0d6dc84a7
--- /dev/null
+++ b/dev-libs/oneDNN/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   oneapi-src/oneDNN
+   
+

diff --git a/dev-libs/oneDNN/oneDNN-2.7.2.ebuild 
b/dev-libs/oneDNN/oneDNN-2.7.2.ebuild
new file mode 100644
index 0..1c66ec72c
--- /dev/null
+++ b/dev-libs/oneDNN/oneDNN-2.7.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="${WORKDIR}/${P}_build"
+# There is additional sphinx documentation but we are missing dependency 
doxyrest.
+inherit cmake docs
+
+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"
+# TODO: get the tests up and running
+#RESTRICT="!test? ( test )"
+RESTRICT="test"
+
+BDEPEND="sys-devel/DPC++"
+
+DEPEND="
+   dev-cpp/tbb:=
+   dev-libs/level-zero:=
+   virtual/opencl
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   # DPC++ compiler required for full functionality
+   export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+   export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DDNNL_CPU_RUNTIME=DPCPP
+   -DDNNL_GPU_RUNTIME=DPCPP
+   -DDNNL_BUILD_TESTS="$(usex test)"
+   )
+   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
+   rm -r "${ED}/usr/share/doc/dnnl" || die
+}