[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: 45e49405afd454a0e43d45d9229ad6c44a43 Author: Sv. Lockal gmail com> AuthorDate: Wed Jan 10 21:04:05 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 8 19:22:08 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e49405 sci-libs/rocThrust: set include path in cmake config to correct one Signed-off-by: Sv. Lockal gmail.com> Signed-off-by: Sam James gentoo.org> sci-libs/rocThrust/rocThrust-5.7.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/rocThrust/rocThrust-5.7.1.ebuild b/sci-libs/rocThrust/rocThrust-5.7.1.ebuild index ca9648708282..eec7600d151e 100644 --- a/sci-libs/rocThrust/rocThrust-5.7.1.ebuild +++ b/sci-libs/rocThrust/rocThrust-5.7.1.ebuild @@ -35,7 +35,7 @@ src_prepare() { -e "/rocm_install_symlink_subdir(rocthrust)/d" \ -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: c7cd9b80ef198dd881c05ac91df3bf1f5a46a28a Author: Sv. Lockal gmail com> AuthorDate: Wed Oct 18 19:09:59 2023 + Commit: Benda XU gentoo org> CommitDate: Mon Nov 27 14:34:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7cd9b80 sci-libs/rocThrust: add 5.7.1 enable HMM to increase tests pass rate Signed-off-by: Sv. Lockal gmail.com> Signed-off-by: Benda Xu gentoo.org> sci-libs/rocThrust/Manifest | 1 + sci-libs/rocThrust/rocThrust-5.7.1.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest index 586b8f1b9260..5c109bf5006a 100644 --- a/sci-libs/rocThrust/Manifest +++ b/sci-libs/rocThrust/Manifest @@ -1 +1,2 @@ DIST rocThrust-5.1.3.tar.gz 1186518 BLAKE2B 2defe71247915940917438d4f0d0a811dca7de39e5168248968fa9c165b81d94b0e20f3df9b84db1fbdcd2eb87942dec5d3adbbe1a699eb51eeb4e1b2f0a88d0 SHA512 189c70343a410cf3f3c1589ef24c68a38b5270d8780d15261a124b8250f279a3c3c7afef38e6310d57cb1741b3ee75f0b4ac0bb9dfcf4a4fb0e7e6c0516faf74 +DIST rocThrust-5.7.1.tar.gz 1122808 BLAKE2B 41a5d57d03c7f95baf861b772c9513c7fbc26eee8a2f388897eb9b9f9fad3cdad81e2a79932c5b9a6d88b4e1596bf64e59e01337943a036ddb792f7b352ecd31 SHA512 52a9640808f0ed78ae2d6f25e741af59ae4e977535a0431f16c0fa1ee9a395e6f389cf29e61c02ac274cf16fcd193e5df6fb2edc340059ab282ed7cd877fc8b4 diff --git a/sci-libs/rocThrust/rocThrust-5.7.1.ebuild b/sci-libs/rocThrust/rocThrust-5.7.1.ebuild new file mode 100644 index ..68d0b7198b14 --- /dev/null +++ b/sci-libs/rocThrust/rocThrust-5.7.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 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/ROCmSoftwarePlatform/rocThrust; +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1-2)" +IUSE="benchmark test" +REQUIRED_USE="${ROCM_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/hip + sci-libs/rocPRIM:${SLOT}[${ROCM_USEDEP}] + test? ( dev-cpp/gtest )" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-util/cmake-3.22" + +S="${WORKDIR}/rocThrust-rocm-${PV}" + +PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" ) + +src_prepare() { + sed -e "/PREFIX rocthrust/d" \ + -e "/DESTINATION/s:rocthrust/include/thrust:include/thrust:" \ + -e "/rocm_install_symlink_subdir(rocthrust)/d" \ + -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: eb0ef9dba6a7f2e6b1e57c72bb6275dcf4463442 Author: Craig Andrews gentoo org> AuthorDate: Wed Jul 5 18:11:07 2023 + Commit: Craig Andrews gentoo org> CommitDate: Wed Jul 5 18:15:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0ef9db sci-libs/rocThrust: drop myself as a maintainer Signed-off-by: Craig Andrews gentoo.org> sci-libs/rocThrust/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/sci-libs/rocThrust/metadata.xml b/sci-libs/rocThrust/metadata.xml index 20ece3c2955e..61a33c63bbf4 100644 --- a/sci-libs/rocThrust/metadata.xml +++ b/sci-libs/rocThrust/metadata.xml @@ -4,10 +4,6 @@ s...@gentoo.org - -candr...@gentoo.org -Craig Andrews - gen...@holzke.net Wilfried Holzke
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: 55ce60f258524fe6eaccbc1ad8a74a48d6998f60 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Jan 24 22:21:55 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Feb 1 09:52:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ce60f2 sci-libs/rocThrust: drop 5.0.2-r1 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/rocThrust/Manifest | 1 - sci-libs/rocThrust/rocThrust-5.0.2-r1.ebuild | 76 2 files changed, 77 deletions(-) diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest index db950e870078..586b8f1b9260 100644 --- a/sci-libs/rocThrust/Manifest +++ b/sci-libs/rocThrust/Manifest @@ -1,2 +1 @@ -DIST rocThrust-5.0.2.tar.gz 1183550 BLAKE2B 88021266dc9ffcb8f5e803acfe767c52aaa04b2348d0dcb204eb74bdf44ed26eb6d98f8d85324b90fe73228b52a0ad22686b87274c868ef19ec8ded825b58ea9 SHA512 3599b9498db392d480c08873d9e84ff1c05e5417e14e43e56f190fe4490873fec37c944a3c252942d6275a4fa4af85c82d39b62b0fdb5daa82023a2df8a3228f DIST rocThrust-5.1.3.tar.gz 1186518 BLAKE2B 2defe71247915940917438d4f0d0a811dca7de39e5168248968fa9c165b81d94b0e20f3df9b84db1fbdcd2eb87942dec5d3adbbe1a699eb51eeb4e1b2f0a88d0 SHA512 189c70343a410cf3f3c1589ef24c68a38b5270d8780d15261a124b8250f279a3c3c7afef38e6310d57cb1741b3ee75f0b4ac0bb9dfcf4a4fb0e7e6c0516faf74 diff --git a/sci-libs/rocThrust/rocThrust-5.0.2-r1.ebuild b/sci-libs/rocThrust/rocThrust-5.0.2-r1.ebuild deleted file mode 100644 index 41a056e51860.. --- a/sci-libs/rocThrust/rocThrust-5.0.2-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust; -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:= - sci-libs/rocPRIM:${SLOT}" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest )" -BDEPEND=">=dev-util/cmake-3.22" - -S="${WORKDIR}/rocThrust-rocm-${PV}" - -PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" ) - -src_prepare() { - sed -e "/PREFIX rocthrust/d" \ - -e "/DESTINATION/s:rocthrust/include/thrust:include/thrust:" \ - -e "/rocm_install_symlink_subdir(rocthrust)/d" \ - -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/files/, sci-libs/rocThrust/
commit: 1df248184eeae4fa1c8b3557176b540069e91e97 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 18 11:24:16 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 19 14:00:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df24818 sci-libs/rocThrust: drop 4.0.0-r1, 4.3.0-r2 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/rocThrust/Manifest| 2 - .../rocThrust-4.3.0-deprecate-hcc_detail.patch | 13 sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild | 49 -- sci-libs/rocThrust/rocThrust-4.3.0-r2.ebuild | 77 -- 4 files changed, 141 deletions(-) diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest index 13445c171f29..db950e870078 100644 --- a/sci-libs/rocThrust/Manifest +++ b/sci-libs/rocThrust/Manifest @@ -1,4 +1,2 @@ -DIST rocThrust-4.0.0.tar.gz 1166346 BLAKE2B 02c89e0c4ab2c888a20b7c956a73012157f2735e6ec76369a1f75fbc17bb3f995d1914106ec58562f28243fbe5f019ac230ac3313b6aacb4d8b868f3ac1f091e SHA512 476aa5706487c5801cc91908806a1a1fcb550171f63e0b2debd9b59b18c7435c484578ec456ccfabc140dd7bca7d9bb432a7ba223946b1fca22e72e7d053af2d -DIST rocThrust-4.3.0.tar.gz 1156832 BLAKE2B a462cfaa31883253fabba584ca77622cc5a7234bd9979472a84ec77b91c60f48f1064149b86d624aaedd70262fb65fb6aadb03cc6e00939d4eed6cd11bfc0090 SHA512 8c6aa3aefd59c87cc8278930bf90021867f519c356c86a3c3ebfcdf90887b8631250b6a9a8156f77c0cbf7ddbad7881e5e1b802f1cd1305cc3a2e7d95ef4e6f3 DIST rocThrust-5.0.2.tar.gz 1183550 BLAKE2B 88021266dc9ffcb8f5e803acfe767c52aaa04b2348d0dcb204eb74bdf44ed26eb6d98f8d85324b90fe73228b52a0ad22686b87274c868ef19ec8ded825b58ea9 SHA512 3599b9498db392d480c08873d9e84ff1c05e5417e14e43e56f190fe4490873fec37c944a3c252942d6275a4fa4af85c82d39b62b0fdb5daa82023a2df8a3228f DIST rocThrust-5.1.3.tar.gz 1186518 BLAKE2B 2defe71247915940917438d4f0d0a811dca7de39e5168248968fa9c165b81d94b0e20f3df9b84db1fbdcd2eb87942dec5d3adbbe1a699eb51eeb4e1b2f0a88d0 SHA512 189c70343a410cf3f3c1589ef24c68a38b5270d8780d15261a124b8250f279a3c3c7afef38e6310d57cb1741b3ee75f0b4ac0bb9dfcf4a4fb0e7e6c0516faf74 diff --git a/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch b/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch deleted file mode 100644 index a923a016f96c.. --- a/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://github.com/ROCmSoftwarePlatform/rocThrust/issues/180 - orig/thrust/system/hip/detail/guarded_driver_types.h -+++ rocThrust-rocm-4.3.0/thrust/system/hip/detail/guarded_driver_types.h -@@ -47,7 +47,7 @@ - # endif // __DRIVER_TYPES_H__ - #endif // __GNUC__ - --#include -+#include - - #if !defined(__GNUC__) || ((1 * __GNUC__ + 100 * __GNUC_MINOR__ + __GNUC_PATCHLEVEL__) >= 40500) - # ifdef THRUST_HOST_NEEDS_RESTORATION diff --git a/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild b/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild deleted file mode 100644 index 4ca8a58bad69.. --- a/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Thrust dependent software on AMD GPUs" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust; -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64" -SLOT="0" - -RDEPEND=">=dev-util/hip-${PV} - =sci-libs/rocPRIM-${PV}*" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/rocThrust-rocm-${PV}" - -PATCHES="${FILESDIR}/rocThrust-4.0-operator_new.patch" - -src_prepare() { - sed -e "/PREFIX rocthrust/d" \ - -e "/DESTINATION/s:rocthrust/include/thrust:include/rocthrust/thrust:" \ - -e "/rocm_install_symlink_subdir(rocthrust)/d" \ - -e "/https://github.com/ROCmSoftwarePlatform/rocThrust; -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip - sci-libs/rocPRIM:${SLOT}" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest )" -BDEPEND=">=dev-util/cmake-3.22" - -S="${WORKDIR}/rocThrust-rocm-${PV}" - -PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" - "${FILESDIR}/${P}-deprecate-hcc_detail.patch" ) - -src_prepare() { - sed -e "/PREFIX rocthrust/d" \ - -e "/DESTINATION/s:rocthrust/include/thrust:include/thrust:" \ - -e "/rocm_install_symlink_subdir(rocthrust)/d" \ - -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: a440582ae525e51c5f4d2fa4b0ebfb9c748a3e20 Author: Yiyang Wu gmail com> AuthorDate: Fri Jul 15 12:18:41 2022 + Commit: Benda XU gentoo org> CommitDate: Thu Sep 22 01:07:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a440582a sci-libs/rocThrust: add 5.1.3, using rocm.eclass No need to rebuilt rocThrust when hip upgrade because it is dynamically linked to libhipamd, while llvm SLOT does not matter because it is only used to produce GPU kernels, libclang and libLLVM does not linked in. Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Benda Xu gentoo.org> sci-libs/rocThrust/Manifest | 1 + sci-libs/rocThrust/rocThrust-5.1.3.ebuild | 74 +++ 2 files changed, 75 insertions(+) diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest index 1f55b8280b6b..13445c171f29 100644 --- a/sci-libs/rocThrust/Manifest +++ b/sci-libs/rocThrust/Manifest @@ -1,3 +1,4 @@ DIST rocThrust-4.0.0.tar.gz 1166346 BLAKE2B 02c89e0c4ab2c888a20b7c956a73012157f2735e6ec76369a1f75fbc17bb3f995d1914106ec58562f28243fbe5f019ac230ac3313b6aacb4d8b868f3ac1f091e SHA512 476aa5706487c5801cc91908806a1a1fcb550171f63e0b2debd9b59b18c7435c484578ec456ccfabc140dd7bca7d9bb432a7ba223946b1fca22e72e7d053af2d DIST rocThrust-4.3.0.tar.gz 1156832 BLAKE2B a462cfaa31883253fabba584ca77622cc5a7234bd9979472a84ec77b91c60f48f1064149b86d624aaedd70262fb65fb6aadb03cc6e00939d4eed6cd11bfc0090 SHA512 8c6aa3aefd59c87cc8278930bf90021867f519c356c86a3c3ebfcdf90887b8631250b6a9a8156f77c0cbf7ddbad7881e5e1b802f1cd1305cc3a2e7d95ef4e6f3 DIST rocThrust-5.0.2.tar.gz 1183550 BLAKE2B 88021266dc9ffcb8f5e803acfe767c52aaa04b2348d0dcb204eb74bdf44ed26eb6d98f8d85324b90fe73228b52a0ad22686b87274c868ef19ec8ded825b58ea9 SHA512 3599b9498db392d480c08873d9e84ff1c05e5417e14e43e56f190fe4490873fec37c944a3c252942d6275a4fa4af85c82d39b62b0fdb5daa82023a2df8a3228f +DIST rocThrust-5.1.3.tar.gz 1186518 BLAKE2B 2defe71247915940917438d4f0d0a811dca7de39e5168248968fa9c165b81d94b0e20f3df9b84db1fbdcd2eb87942dec5d3adbbe1a699eb51eeb4e1b2f0a88d0 SHA512 189c70343a410cf3f3c1589ef24c68a38b5270d8780d15261a124b8250f279a3c3c7afef38e6310d57cb1741b3ee75f0b4ac0bb9dfcf4a4fb0e7e6c0516faf74 diff --git a/sci-libs/rocThrust/rocThrust-5.1.3.ebuild b/sci-libs/rocThrust/rocThrust-5.1.3.ebuild new file mode 100644 index ..c7ef0e87fa4a --- /dev/null +++ b/sci-libs/rocThrust/rocThrust-5.1.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 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/ROCmSoftwarePlatform/rocThrust; +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1-2)" +IUSE="benchmark test" +REQUIRED_USE="${ROCM_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/hip + sci-libs/rocPRIM:${SLOT}[${ROCM_USEDEP}] + test? ( dev-cpp/gtest )" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-util/cmake-3.22" + +S="${WORKDIR}/rocThrust-rocm-${PV}" + +PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" ) + +src_prepare() { + sed -e "/PREFIX rocthrust/d" \ + -e "/DESTINATION/s:rocthrust/include/thrust:include/thrust:" \ + -e "/rocm_install_symlink_subdir(rocthrust)/d" \ + -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: e218d251836e9e1c67397d41f9c44403b28090c7 Author: Benda Xu gentoo org> AuthorDate: Sat Aug 6 09:39:09 2022 + Commit: Benda XU gentoo org> CommitDate: Sat Aug 6 14:20:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e218d251 sci-libs/rocThrust: relax SLOT dependency on dev-util/hip. dev-cpp/gtest should be in DEPEND. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Benda Xu gentoo.org> .../rocThrust/{rocThrust-5.0.2.ebuild => rocThrust-5.0.2-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sci-libs/rocThrust/rocThrust-5.0.2.ebuild b/sci-libs/rocThrust/rocThrust-5.0.2-r1.ebuild similarity index 96% rename from sci-libs/rocThrust/rocThrust-5.0.2.ebuild rename to sci-libs/rocThrust/rocThrust-5.0.2-r1.ebuild index 8e043631657f..41a056e51860 100644 --- a/sci-libs/rocThrust/rocThrust-5.0.2.ebuild +++ b/sci-libs/rocThrust/rocThrust-5.0.2-r1.ebuild @@ -16,10 +16,10 @@ IUSE="benchmark test" RESTRICT="!test? ( test )" -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT} +RDEPEND="dev-util/hip:= + sci-libs/rocPRIM:${SLOT}" +DEPEND="${RDEPEND} test? ( dev-cpp/gtest )" -DEPEND="${RDEPEND}" BDEPEND=">=dev-util/cmake-3.22" S="${WORKDIR}/rocThrust-rocm-${PV}"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: ab9da0d1ba6e1e6437d4ccb844a8973703808829 Author: YiyangWu gmail com> AuthorDate: Mon May 2 08:03:35 2022 + Commit: Benda XU gentoo org> CommitDate: Tue May 3 05:41:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9da0d1 sci-libs/rocThrust: bump to 5.0.2 Observed one failed test on gfx1031 though: https://github.com/ROCmSoftwarePlatform/rocThrust/issues/233 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Benda Xu gentoo.org> sci-libs/rocThrust/Manifest | 1 + sci-libs/rocThrust/rocThrust-5.0.2.ebuild | 76 +++ 2 files changed, 77 insertions(+) diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest index d94ba9ef58d4..1f55b8280b6b 100644 --- a/sci-libs/rocThrust/Manifest +++ b/sci-libs/rocThrust/Manifest @@ -1,2 +1,3 @@ DIST rocThrust-4.0.0.tar.gz 1166346 BLAKE2B 02c89e0c4ab2c888a20b7c956a73012157f2735e6ec76369a1f75fbc17bb3f995d1914106ec58562f28243fbe5f019ac230ac3313b6aacb4d8b868f3ac1f091e SHA512 476aa5706487c5801cc91908806a1a1fcb550171f63e0b2debd9b59b18c7435c484578ec456ccfabc140dd7bca7d9bb432a7ba223946b1fca22e72e7d053af2d DIST rocThrust-4.3.0.tar.gz 1156832 BLAKE2B a462cfaa31883253fabba584ca77622cc5a7234bd9979472a84ec77b91c60f48f1064149b86d624aaedd70262fb65fb6aadb03cc6e00939d4eed6cd11bfc0090 SHA512 8c6aa3aefd59c87cc8278930bf90021867f519c356c86a3c3ebfcdf90887b8631250b6a9a8156f77c0cbf7ddbad7881e5e1b802f1cd1305cc3a2e7d95ef4e6f3 +DIST rocThrust-5.0.2.tar.gz 1183550 BLAKE2B 88021266dc9ffcb8f5e803acfe767c52aaa04b2348d0dcb204eb74bdf44ed26eb6d98f8d85324b90fe73228b52a0ad22686b87274c868ef19ec8ded825b58ea9 SHA512 3599b9498db392d480c08873d9e84ff1c05e5417e14e43e56f190fe4490873fec37c944a3c252942d6275a4fa4af85c82d39b62b0fdb5daa82023a2df8a3228f diff --git a/sci-libs/rocThrust/rocThrust-5.0.2.ebuild b/sci-libs/rocThrust/rocThrust-5.0.2.ebuild new file mode 100644 index ..8e043631657f --- /dev/null +++ b/sci-libs/rocThrust/rocThrust-5.0.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust; +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1-2)" +IUSE="benchmark test" + +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/hip:${SLOT} + sci-libs/rocPRIM:${SLOT} + test? ( dev-cpp/gtest )" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-util/cmake-3.22" + +S="${WORKDIR}/rocThrust-rocm-${PV}" + +PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" ) + +src_prepare() { + sed -e "/PREFIX rocthrust/d" \ + -e "/DESTINATION/s:rocthrust/include/thrust:include/thrust:" \ + -e "/rocm_install_symlink_subdir(rocthrust)/d" \ + -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: 4810bc80d38fd749445685970922dc91512c297e Author: Benda Xu gentoo org> AuthorDate: Mon May 2 05:36:50 2022 + Commit: Benda XU gentoo org> CommitDate: Mon May 2 06:01:59 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4810bc80 sci-libs/rocThrust: remove unused cmake flags. unbundle against hip slots. add gtest to the test dependency. Closes: https://bugs.gentoo.org/831968 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Benda Xu gentoo.org> ...t-4.3.0-r1.ebuild => rocThrust-4.3.0-r2.ebuild} | 7 +- sci-libs/rocThrust/rocThrust-4.3.0.ebuild | 76 -- 2 files changed, 4 insertions(+), 79 deletions(-) diff --git a/sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild b/sci-libs/rocThrust/rocThrust-4.3.0-r2.ebuild similarity index 91% rename from sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild rename to sci-libs/rocThrust/rocThrust-4.3.0-r2.ebuild index fc6045bf31f2..ff4a85ba172d 100644 --- a/sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild +++ b/sci-libs/rocThrust/rocThrust-4.3.0-r2.ebuild @@ -16,9 +16,11 @@ IUSE="benchmark test" RESTRICT="!test? ( test )" -RDEPEND="dev-util/hip:${SLOT} +RDEPEND="dev-util/hip sci-libs/rocPRIM:${SLOT}" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest )" +BDEPEND=">=dev-util/cmake-3.22" S="${WORKDIR}/rocThrust-rocm-${PV}" @@ -56,7 +58,6 @@ src_configure() { -DBUILD_TEST=$(usex test ON OFF) -DBUILD_BENCHMARKS=$(usex benchmark ON OFF) ${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"} - -D__skip_rocmclang="ON" ## fix cmake-3.21 configuration issue caused by officialy support programming language "HIP" ) cmake_src_configure diff --git a/sci-libs/rocThrust/rocThrust-4.3.0.ebuild b/sci-libs/rocThrust/rocThrust-4.3.0.ebuild deleted file mode 100644 index 5063cf4dbce5.. --- a/sci-libs/rocThrust/rocThrust-4.3.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust; -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" - -LICENSE="Apache-2.0" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip:${SLOT} - sci-libs/rocPRIM:${SLOT}" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/rocThrust-rocm-${PV}" - -PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" - "${FILESDIR}/${P}-deprecate-hcc_detail.patch" ) - -src_prepare() { - sed -e "/PREFIX rocthrust/d" \ - -e "/DESTINATION/s:rocthrust/include/thrust:include/rocthrust/thrust:" \ - -e "/rocm_install_symlink_subdir(rocthrust)/d" \ - -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/
commit: b4e8b1a1b30030971c2f7979e2dfce00304e464b Author: Benda Xu gentoo org> AuthorDate: Mon Jan 24 11:06:32 2022 + Commit: Benda XU gentoo org> CommitDate: Mon Jan 24 11:08:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e8b1a1 sci-libs/rocThrust: strip PN from the include path. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Benda Xu gentoo.org> sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild | 76 1 file changed, 76 insertions(+) diff --git a/sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild b/sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild new file mode 100644 index ..fc6045bf31f2 --- /dev/null +++ b/sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust; +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1-2)" +IUSE="benchmark test" + +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/hip:${SLOT} + sci-libs/rocPRIM:${SLOT}" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/rocThrust-rocm-${PV}" + +PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" + "${FILESDIR}/${P}-deprecate-hcc_detail.patch" ) + +src_prepare() { + sed -e "/PREFIX rocthrust/d" \ + -e "/DESTINATION/s:rocthrust/include/thrust:include/thrust:" \ + -e "/rocm_install_symlink_subdir(rocthrust)/d" \ + -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/, sci-libs/rocThrust/files/
commit: d89374796f7e7ee37eaf2881d7b86074542fc999 Author: YiyangWu gmail com> AuthorDate: Thu Aug 26 03:19:10 2021 + Commit: Benda XU gentoo org> CommitDate: Sat Nov 6 04:52:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8937479 sci-libs/rocThrust: bump version to 4.3.0 Enable benchmark and test build options Closes: https://github.com/gentoo/gentoo/pull/22803 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Benda Xu gentoo.org> sci-libs/rocThrust/Manifest| 1 + .../rocThrust-4.3.0-deprecate-hcc_detail.patch | 13 sci-libs/rocThrust/metadata.xml| 3 + sci-libs/rocThrust/rocThrust-4.3.0.ebuild | 76 ++ 4 files changed, 93 insertions(+) diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest index 282c08da9b9..d94ba9ef58d 100644 --- a/sci-libs/rocThrust/Manifest +++ b/sci-libs/rocThrust/Manifest @@ -1 +1,2 @@ DIST rocThrust-4.0.0.tar.gz 1166346 BLAKE2B 02c89e0c4ab2c888a20b7c956a73012157f2735e6ec76369a1f75fbc17bb3f995d1914106ec58562f28243fbe5f019ac230ac3313b6aacb4d8b868f3ac1f091e SHA512 476aa5706487c5801cc91908806a1a1fcb550171f63e0b2debd9b59b18c7435c484578ec456ccfabc140dd7bca7d9bb432a7ba223946b1fca22e72e7d053af2d +DIST rocThrust-4.3.0.tar.gz 1156832 BLAKE2B a462cfaa31883253fabba584ca77622cc5a7234bd9979472a84ec77b91c60f48f1064149b86d624aaedd70262fb65fb6aadb03cc6e00939d4eed6cd11bfc0090 SHA512 8c6aa3aefd59c87cc8278930bf90021867f519c356c86a3c3ebfcdf90887b8631250b6a9a8156f77c0cbf7ddbad7881e5e1b802f1cd1305cc3a2e7d95ef4e6f3 diff --git a/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch b/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch new file mode 100644 index 000..a923a016f96 --- /dev/null +++ b/sci-libs/rocThrust/files/rocThrust-4.3.0-deprecate-hcc_detail.patch @@ -0,0 +1,13 @@ +https://github.com/ROCmSoftwarePlatform/rocThrust/issues/180 + +--- orig/thrust/system/hip/detail/guarded_driver_types.h rocThrust-rocm-4.3.0/thrust/system/hip/detail/guarded_driver_types.h +@@ -47,7 +47,7 @@ + # endif // __DRIVER_TYPES_H__ + #endif // __GNUC__ + +-#include ++#include + + #if !defined(__GNUC__) || ((1 * __GNUC__ + 100 * __GNUC_MINOR__ + __GNUC_PATCHLEVEL__) >= 40500) + # ifdef THRUST_HOST_NEEDS_RESTORATION diff --git a/sci-libs/rocThrust/metadata.xml b/sci-libs/rocThrust/metadata.xml index 2de21c17fe6..20ece3c2955 100644 --- a/sci-libs/rocThrust/metadata.xml +++ b/sci-libs/rocThrust/metadata.xml @@ -15,4 +15,7 @@ ROCm-Developer-Tools/rocThrust + + Build and install benchmark binary. + diff --git a/sci-libs/rocThrust/rocThrust-4.3.0.ebuild b/sci-libs/rocThrust/rocThrust-4.3.0.ebuild new file mode 100644 index 000..5063cf4dbce --- /dev/null +++ b/sci-libs/rocThrust/rocThrust-4.3.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="HIP back-end for the parallel algorithm library Thrust" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust; +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1-2)" +IUSE="benchmark test" + +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/hip:${SLOT} + sci-libs/rocPRIM:${SLOT}" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/rocThrust-rocm-${PV}" + +PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" + "${FILESDIR}/${P}-deprecate-hcc_detail.patch" ) + +src_prepare() { + sed -e "/PREFIX rocthrust/d" \ + -e "/DESTINATION/s:rocthrust/include/thrust:include/rocthrust/thrust:" \ + -e "/rocm_install_symlink_subdir(rocthrust)/d" \ + -e "/
[gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/, sci-libs/rocThrust/files/
commit: 21458c9061094f1fa0a47c93c1416c31bc6dc7de Author: Benda Xu gentoo org> AuthorDate: Thu Jan 21 11:36:45 2021 + Commit: Benda XU gentoo org> CommitDate: Sun Jan 24 07:45:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21458c90 sci-libs/rocThrust: ROCm backend for Thrust. Bug: https://bugs.gentoo.org/650804 Bug: https://github.com/gentoo/gentoo/pull/10724 Suggested-by: Yiyang Wu gmail.com> Suggested-by: Wilfried Holzke holzke.net> Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu gentoo.org> sci-libs/rocThrust/Manifest| 1 + .../files/rocThrust-4.0-operator_new.patch | 29 + sci-libs/rocThrust/metadata.xml| 18 sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild | 49 ++ 4 files changed, 97 insertions(+) diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest new file mode 100644 index 000..282c08da9b9 --- /dev/null +++ b/sci-libs/rocThrust/Manifest @@ -0,0 +1 @@ +DIST rocThrust-4.0.0.tar.gz 1166346 BLAKE2B 02c89e0c4ab2c888a20b7c956a73012157f2735e6ec76369a1f75fbc17bb3f995d1914106ec58562f28243fbe5f019ac230ac3313b6aacb4d8b868f3ac1f091e SHA512 476aa5706487c5801cc91908806a1a1fcb550171f63e0b2debd9b59b18c7435c484578ec456ccfabc140dd7bca7d9bb432a7ba223946b1fca22e72e7d053af2d diff --git a/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch b/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch new file mode 100644 index 000..2b78fd0053e --- /dev/null +++ b/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch @@ -0,0 +1,29 @@ +# Use copy assignment instead of copy constructor to avoid unavailability of placement new operator. +# But more likely there is another hidden bug, since this syntax is actually correct. +# There are still similar syntax remain in other headers, which may cause identical compilation error. + +# Suggested by Yuyi Wang +diff --color -uprN rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_copy.h rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_copy.h +--- rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_copy.h 2021-01-21 20:42:44.439246148 +0800 rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_copy.h 2021-01-21 21:13:20.926840762 +0800 +@@ -62,7 +62,7 @@ namespace __uninitialized_copy + InputType const& in = raw_reference_cast(input[idx]); + OutputType& out = raw_reference_cast(output[idx]); + +-::new(static_cast()) OutputType(in); ++out = in; + } + }; // struct functor + +diff --color -uprN rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_fill.h rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_fill.h +--- rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_fill.h 2021-01-21 20:42:44.439246148 +0800 rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_fill.h 2021-01-21 21:13:07.022489406 +0800 +@@ -59,7 +59,7 @@ namespace __uninitialized_fill + { + value_type& out = raw_reference_cast(items[idx]); + +-::new(static_cast()) value_type(value); ++out = value; + } + }; // struct functor + } // namespace __uninitialized_copy diff --git a/sci-libs/rocThrust/metadata.xml b/sci-libs/rocThrust/metadata.xml new file mode 100644 index 000..b0a23ffc1e0 --- /dev/null +++ b/sci-libs/rocThrust/metadata.xml @@ -0,0 +1,18 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +s...@gentoo.org + + +candr...@gentoo.org +Craig Andrews + + +gen...@holzke.net +Wilfried Holzke + + +ROCm-Developer-Tools/rocThrust + + diff --git a/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild b/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild new file mode 100644 index 000..4ca8a58bad6 --- /dev/null +++ b/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Thrust dependent software on AMD GPUs" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust; +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=">=dev-util/hip-${PV} + =sci-libs/rocPRIM-${PV}*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/rocThrust-rocm-${PV}" + +PATCHES="${FILESDIR}/rocThrust-4.0-operator_new.patch" + +src_prepare() { + sed -e "/PREFIX rocthrust/d" \ + -e "/DESTINATION/s:rocthrust/include/thrust:include/rocthrust/thrust:" \ + -e "/rocm_install_symlink_subdir(rocthrust)/d" \ + -e "/