public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/cudnn-frontend/
@ 2025-04-24 20:31 Alfredo Tupone
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2025-04-24 20:31 UTC (permalink / raw
  To: gentoo-commits

commit:     ec3ed15b6ca07e735c43274d430bc8774645ec8a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 20:30:43 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 20:30:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec3ed15b

sci-ml/cudnn-frontend: add 1.10.0

Closes: https://bugs.gentoo.org/947039
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/cudnn-frontend/Manifest                     |  1 +
 sci-ml/cudnn-frontend/cudnn-frontend-1.10.0.ebuild | 35 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/sci-ml/cudnn-frontend/Manifest b/sci-ml/cudnn-frontend/Manifest
index 64eb5f4be4dc..4f966b32d757 100644
--- a/sci-ml/cudnn-frontend/Manifest
+++ b/sci-ml/cudnn-frontend/Manifest
@@ -1,2 +1,3 @@
+DIST cudnn-frontend-1.10.0.tar.gz 662344 BLAKE2B f151a57afdf41c03829b67d9ecda0e78697b3cf8bd1d4fc460a0e1ece6f79ee4c8dcb9615f630f9fc0c8d44cd1f2de249ac260d6e1386d696fa09536e7e23258 SHA512 24df540fa3adb82d3632aa41f58e5c03da55d064f69e7f109668365995e189a4968c18881c6b4e9ed1a9bc3fa0347e9df01ae85aff2d7f330c0328ff56d27eab
 DIST cudnn-frontend-1.6.1.tar.gz 597869 BLAKE2B e2704fbc1e0a8ac2d2a4321fab23c2b01109a8aef81ad5ff3ceb9dbf7bfbc42749443ff257ad3af6c0d348f67d47c4f210402cb5faa22feb1d5d12a4242637f1 SHA512 078b4968b9eaa601cbf1e61547780bfe3155bc165b3c540a851ab19ac58df9b1fab3780fd37416aea7a072c12c9e2bca5ee03cb7a147c211aa6e431d7965e888
 DIST cudnn-frontend-1.8.0.tar.gz 631921 BLAKE2B 148d2fc3726a74ab6707f29cdbcc5312a31463506443bb7505470bc208712e0d4a8e398ecf2f53361e08bbccc33f75a8ee139b07df7641902b1afd8fe9508472 SHA512 3bb46a39662a01d79e49d023c83dc7f05d0e70b8d17fa80ab66f17e8970eb0c8d2e96885b7cf79186eab9af977e1ad6aa7bcf86fa0f25b4b66d19bf5d72dce20

diff --git a/sci-ml/cudnn-frontend/cudnn-frontend-1.10.0.ebuild b/sci-ml/cudnn-frontend/cudnn-frontend-1.10.0.ebuild
new file mode 100644
index 000000000000..2e78b67750fa
--- /dev/null
+++ b/sci-ml/cudnn-frontend/cudnn-frontend-1.10.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="A c++ wrapper for the cudnn backend API"
+HOMEPAGE="https://github.com/NVIDIA/cudnn-frontend"
+SRC_URI="https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/8"
+KEYWORDS="~amd64"
+
+RDEPEND="=dev-libs/cudnn-8*
+	dev-util/nvidia-cuda-toolkit"
+DEPEND="${RDEPEND}"
+
+IUSE="test"
+
+RESTRICT="test" # Fail in sandbox
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.0-gentoo.patch )
+
+src_configure() {
+	local mycmakeargs=(
+		-DCUDNN_FRONTEND_BUILD_TESTS=$(usex test)
+		-DCUDNN_FRONTEND_BUILD_SAMPLES=OFF
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	"${BUILD_DIR}"/bin/tests || die
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/cudnn-frontend/
@ 2025-07-17 19:19 Alfredo Tupone
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2025-07-17 19:19 UTC (permalink / raw
  To: gentoo-commits

commit:     7656f64e1ba91f0a2807ed91e80ba4ff4f2bd838
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 17 19:19:06 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jul 17 19:19:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7656f64e

sci-ml/cudnn-frontend: drop 1.6.1, 1.8.0

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

 sci-ml/cudnn-frontend/Manifest                    |  2 --
 sci-ml/cudnn-frontend/cudnn-frontend-1.6.1.ebuild | 20 -------------
 sci-ml/cudnn-frontend/cudnn-frontend-1.8.0.ebuild | 35 -----------------------
 3 files changed, 57 deletions(-)

diff --git a/sci-ml/cudnn-frontend/Manifest b/sci-ml/cudnn-frontend/Manifest
index 03e64c607c91..1d51b410b113 100644
--- a/sci-ml/cudnn-frontend/Manifest
+++ b/sci-ml/cudnn-frontend/Manifest
@@ -1,4 +1,2 @@
 DIST cudnn-frontend-1.10.0.tar.gz 662344 BLAKE2B f151a57afdf41c03829b67d9ecda0e78697b3cf8bd1d4fc460a0e1ece6f79ee4c8dcb9615f630f9fc0c8d44cd1f2de249ac260d6e1386d696fa09536e7e23258 SHA512 24df540fa3adb82d3632aa41f58e5c03da55d064f69e7f109668365995e189a4968c18881c6b4e9ed1a9bc3fa0347e9df01ae85aff2d7f330c0328ff56d27eab
 DIST cudnn-frontend-1.11.0.tar.gz 653191 BLAKE2B 2f784424bb4c850683b8ecf0b24e03c761227f839d63ad92eba38b5d9a530800a32e7311f27c0bc9e31a0bfc26324acf4d194d143f69f1b6094a3958d2874ce0 SHA512 2d50fbedc1d2f488275aedce84893447a025d4c00b9e8609c4004b2eb0525480a348835d0e8b2784499d80d0c63d75bb1430741cb06c3652da8dd72b822489fa
-DIST cudnn-frontend-1.6.1.tar.gz 597869 BLAKE2B e2704fbc1e0a8ac2d2a4321fab23c2b01109a8aef81ad5ff3ceb9dbf7bfbc42749443ff257ad3af6c0d348f67d47c4f210402cb5faa22feb1d5d12a4242637f1 SHA512 078b4968b9eaa601cbf1e61547780bfe3155bc165b3c540a851ab19ac58df9b1fab3780fd37416aea7a072c12c9e2bca5ee03cb7a147c211aa6e431d7965e888
-DIST cudnn-frontend-1.8.0.tar.gz 631921 BLAKE2B 148d2fc3726a74ab6707f29cdbcc5312a31463506443bb7505470bc208712e0d4a8e398ecf2f53361e08bbccc33f75a8ee139b07df7641902b1afd8fe9508472 SHA512 3bb46a39662a01d79e49d023c83dc7f05d0e70b8d17fa80ab66f17e8970eb0c8d2e96885b7cf79186eab9af977e1ad6aa7bcf86fa0f25b4b66d19bf5d72dce20

diff --git a/sci-ml/cudnn-frontend/cudnn-frontend-1.6.1.ebuild b/sci-ml/cudnn-frontend/cudnn-frontend-1.6.1.ebuild
deleted file mode 100644
index a968fdccaa98..000000000000
--- a/sci-ml/cudnn-frontend/cudnn-frontend-1.6.1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="A c++ wrapper for the cudnn backend API"
-HOMEPAGE="https://github.com/NVIDIA/cudnn-frontend"
-SRC_URI="https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/8"
-KEYWORDS="~amd64"
-
-RDEPEND="=dev-libs/cudnn-8*"
-DEPEND="${RDEPEND}"
-
-src_install() {
-	insinto /opt/cuda/targets/x86_64-linux
-	doins -r include
-}

diff --git a/sci-ml/cudnn-frontend/cudnn-frontend-1.8.0.ebuild b/sci-ml/cudnn-frontend/cudnn-frontend-1.8.0.ebuild
deleted file mode 100644
index c4e7140d5fa8..000000000000
--- a/sci-ml/cudnn-frontend/cudnn-frontend-1.8.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit cmake
-
-DESCRIPTION="A c++ wrapper for the cudnn backend API"
-HOMEPAGE="https://github.com/NVIDIA/cudnn-frontend"
-SRC_URI="https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/8"
-KEYWORDS="~amd64"
-
-RDEPEND="=dev-libs/cudnn-8*
-	dev-util/nvidia-cuda-toolkit"
-DEPEND="${RDEPEND}"
-
-IUSE="test"
-
-RESTRICT="test" # Fail in sandbox
-
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
-
-src_configure() {
-	local mycmakeargs=(
-		-DCUDNN_FRONTEND_BUILD_TESTS=$(usex test)
-		-DCUDNN_FRONTEND_BUILD_SAMPLES=OFF
-	)
-	cmake_src_configure
-}
-
-src_test() {
-	"${BUILD_DIR}"/bin/tests || die
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/cudnn-frontend/
@ 2025-07-24 19:24 Alfredo Tupone
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2025-07-24 19:24 UTC (permalink / raw
  To: gentoo-commits

commit:     b24c99e5a197af4fff8026ee823d8b60f272d7d9
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 24 19:23:34 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jul 24 19:24:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24c99e5

sci-ml/cudnn-frontend: add 1.12.1

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

 sci-ml/cudnn-frontend/Manifest                     |  1 +
 sci-ml/cudnn-frontend/cudnn-frontend-1.12.1.ebuild | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/sci-ml/cudnn-frontend/Manifest b/sci-ml/cudnn-frontend/Manifest
index 1d51b410b113..4a744122f37d 100644
--- a/sci-ml/cudnn-frontend/Manifest
+++ b/sci-ml/cudnn-frontend/Manifest
@@ -1,2 +1,3 @@
 DIST cudnn-frontend-1.10.0.tar.gz 662344 BLAKE2B f151a57afdf41c03829b67d9ecda0e78697b3cf8bd1d4fc460a0e1ece6f79ee4c8dcb9615f630f9fc0c8d44cd1f2de249ac260d6e1386d696fa09536e7e23258 SHA512 24df540fa3adb82d3632aa41f58e5c03da55d064f69e7f109668365995e189a4968c18881c6b4e9ed1a9bc3fa0347e9df01ae85aff2d7f330c0328ff56d27eab
 DIST cudnn-frontend-1.11.0.tar.gz 653191 BLAKE2B 2f784424bb4c850683b8ecf0b24e03c761227f839d63ad92eba38b5d9a530800a32e7311f27c0bc9e31a0bfc26324acf4d194d143f69f1b6094a3958d2874ce0 SHA512 2d50fbedc1d2f488275aedce84893447a025d4c00b9e8609c4004b2eb0525480a348835d0e8b2784499d80d0c63d75bb1430741cb06c3652da8dd72b822489fa
+DIST cudnn-frontend-1.12.1.tar.gz 1683639 BLAKE2B 1d00e0caea27fc63883b867fa192f1346c67318f4781b0255e0203753a7ead80746291736e6972c58aa8a1870ccac38ea4dbfe551e5da97596a857d53bc826ea SHA512 02dba5b4480099d1e14abb2fc16d64466955988932bbfdabfe58104576582c644cacec07674baf23e51bb3d8311e5b7080b1e3b3c140d9f463767c2f117e750e

diff --git a/sci-ml/cudnn-frontend/cudnn-frontend-1.12.1.ebuild b/sci-ml/cudnn-frontend/cudnn-frontend-1.12.1.ebuild
new file mode 100644
index 000000000000..d75bfa8c4efb
--- /dev/null
+++ b/sci-ml/cudnn-frontend/cudnn-frontend-1.12.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cuda cmake
+
+DESCRIPTION="A c++ wrapper for the cudnn backend API"
+HOMEPAGE="https://github.com/NVIDIA/cudnn-frontend"
+
+SRC_URI="https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~amd64-linux"
+IUSE="samples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/cudnn
+"
+DEPEND="${RDEPEND}
+	dev-cpp/nlohmann_json
+	test? (
+		>dev-cpp/catch-3
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.11.0-fix.patch"
+)
+
+src_prepare() {
+	cmake_src_prepare
+
+	sed -e 's#"cudnn_frontend/thirdparty/nlohmann/json.hpp"#<nlohmann/json.hpp>#' \
+		-i include/cudnn_frontend_utils.h || die
+
+	rm -r include/cudnn_frontend/thirdparty || die
+}
+
+src_configure() {
+	local narch
+	if use amd64; then
+		narch="x86_64"
+	elif use arm64; then
+		narch="sbsa"
+	fi
+
+	local mycmakeargs=(
+		-DCUDNN_FRONTEND_BUILD_PYTHON_BINDINGS="no"
+		-DCUDNN_FRONTEND_BUILD_SAMPLES="$(usex test "$(usex samples)")"
+		-DCUDNN_FRONTEND_BUILD_TESTS="$(usex test)"
+		-DCUDNN_FRONTEND_SKIP_JSON_LIB="no"
+	)
+
+	if use samples || use test; then
+		# allow slotted install
+		: "${CUDNN_PATH:=${ESYSROOT}/opt/cuda}"
+		export CUDNN_PATH
+	fi
+
+	cmake_src_configure
+}
+
+src_test() {
+	cuda_add_sandbox -w
+
+	"${BUILD_DIR}/bin/tests" || die
+
+	if use samples; then
+		"${BUILD_DIR}/bin/samples" || die
+		"${BUILD_DIR}/bin/legacy_samples" || die
+	fi
+
+	cmake_src_test
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-24 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-17 19:19 [gentoo-commits] repo/gentoo:master commit in: sci-ml/cudnn-frontend/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2025-07-24 19:24 Alfredo Tupone
2025-04-24 20:31 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox