From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
Date: Sat, 08 Feb 2025 10:07:14 +0000 (UTC) [thread overview]
Message-ID: <1739009230.2170b20945e177ead77322cd454a439cdd3f43ed.patrick@gentoo> (raw)
commit: 2170b20945e177ead77322cd454a439cdd3f43ed
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 10:02:07 2025 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Feb 8 10:07:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2170b209
sci-libs/rocThrust: add 6.3.2
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
sci-libs/rocThrust/Manifest | 1 +
sci-libs/rocThrust/rocThrust-6.3.2.ebuild | 72 +++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest
index a616d391101f..8d8c22b8ee4e 100644
--- a/sci-libs/rocThrust/Manifest
+++ b/sci-libs/rocThrust/Manifest
@@ -2,4 +2,5 @@ DIST rocThrust-5.1.3.tar.gz 1186518 BLAKE2B 2defe71247915940917438d4f0d0a811dca7
DIST rocThrust-5.7.1.tar.gz 1122808 BLAKE2B 41a5d57d03c7f95baf861b772c9513c7fbc26eee8a2f388897eb9b9f9fad3cdad81e2a79932c5b9a6d88b4e1596bf64e59e01337943a036ddb792f7b352ecd31 SHA512 52a9640808f0ed78ae2d6f25e741af59ae4e977535a0431f16c0fa1ee9a395e6f389cf29e61c02ac274cf16fcd193e5df6fb2edc340059ab282ed7cd877fc8b4
DIST rocThrust-6.1.1.tar.gz 1147635 BLAKE2B e71288a4666ba1f23cf85d2d269f61f9085efaeb2921b7f3142c5ce0808380b27a8c07945a44b6a651747046020b412838a667232b1ba65308fd7fd336b840b4 SHA512 30eeb6df73ee0dc2361879337faae09cf19cd151510c6e22d774c22b4be19272f9980cc6ba2b2e42f43738a1e475f49fcb4384d66b24639746a05685a90e37d4
DIST rocThrust-6.3.0.tar.gz 1205810 BLAKE2B bdf617ffac39deb345a2738a7d61ccf282af1ba2d49210aa15e5d3181f64f38bcb609d52d41db892579d9d03013b0ddcad6bc88cd58a3a90fa8e7989e01edfcc SHA512 e73e0fd743dcb5625099aad226b578145e350666eb52ce9682e53a40f4cb17a34f812a94321397acad8dfcf6c573eab86565a220bb42e501296b78450e42647e
+DIST rocThrust-6.3.2.tar.gz 1205797 BLAKE2B 355da53bbc69a6b79909fe48bfa326fc9bc8eabf4b80d3870bd4ef73ff87ebaba5ec06ce2096efd9d4655d1f19970ca60069c14e91b6bf953263145f8ff3a178 SHA512 5f699957ef79346e38d7d8d462b25f67248e5d7b1c2ea71a153fe7f87279d442e181a721b95a2878d52ae08ff3b53797a320f51f707b852ec67d5dfaa50a1bc7
DIST sqlite-amalgamation-3430200.zip 2676699 BLAKE2B b09c59772c920ddef7ba0b15b1721645541678bad9ecb23fb8ecfbb1733177cad836d1d75db8e0722ea7ab4701cfaca187b72c127e9959f7e4f116f1ec7fe41c SHA512 5ef0e65ee92a088187376fa82ccb182dffa35391dd4dbcb3fafeb0a6f1602ced1e212753837079a9cad007d73d3f5b8a67ca1a6596eba6cf0c695052fa307392
diff --git a/sci-libs/rocThrust/rocThrust-6.3.2.ebuild b/sci-libs/rocThrust/rocThrust-6.3.2.ebuild
new file mode 100644
index 000000000000..9588f9f0fc74
--- /dev/null
+++ b/sci-libs/rocThrust/rocThrust-6.3.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION=${PV}
+
+inherit cmake rocm
+
+DESCRIPTION="HIP back-end for the parallel algorithm library Thrust"
+HOMEPAGE="https://github.com/ROCm/rocThrust"
+SRC_URI="
+ https://github.com/ROCm/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz
+ test? ( https://www.sqlite.org/2023/sqlite-amalgamation-3430200.zip )
+"
+S="${WORKDIR}/rocThrust-rocm-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+IUSE="benchmark test"
+REQUIRED_USE="
+ benchmark? ( ${ROCM_REQUIRED_USE} )
+ test? ( ${ROCM_REQUIRED_USE} )
+"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-util/hip
+ sci-libs/rocPRIM:${SLOT}[${ROCM_USEDEP}]
+ test? ( dev-cpp/gtest )
+ benchmark? (
+ dev-cpp/benchmark
+ sci-libs/rocRAND:${SLOT}[${ROCM_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-build/cmake-3.22
+ test? ( app-arch/unzip )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.0-operator_new.patch"
+ "${FILESDIR}/${PN}-6.3.0-fix-libcxx.patch"
+)
+
+src_configure() {
+ rocm_use_hipcc
+
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ -DAMDGPU_TARGETS="$(get_amdgpu_flags)"
+ -DBUILD_TEST=$(usex test ON OFF)
+ -DBUILD_BENCHMARKS=$(usex benchmark ON OFF)
+ -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
+ )
+
+ if use test; then
+ mycmakeargs+=(
+ -DFETCHCONTENT_SOURCE_DIR_SQLITE_LOCAL="${WORKDIR}"/sqlite-amalgamation-3430200
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ check_amdgpu
+ # uses HMM to fit tests to default <512M iGPU VRAM
+ ROCTHRUST_USE_HMM="1" cmake_src_test -j1
+}
next reply other threads:[~2025-02-08 10:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-08 10:07 Patrick Lauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-04 10:55 [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/ Patrick Lauer
2025-02-13 8:38 Sam James
2025-01-26 14:00 Sam James
2024-09-09 18:20 Sam James
2024-03-08 19:22 Sam James
2023-11-27 14:35 Benda XU
2023-07-05 18:15 Craig Andrews
2023-02-01 9:53 Andreas Sturmlechner
2022-09-22 1:08 Benda XU
2022-08-06 14:23 Benda XU
2022-05-03 5:41 Benda XU
2022-05-02 6:02 Benda XU
2022-01-24 11:17 Benda XU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739009230.2170b20945e177ead77322cd454a439cdd3f43ed.patrick@gentoo \
--to=patrick@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox