From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A138158087 for ; Mon, 24 Jan 2022 11:17:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E317CE05C1; Mon, 24 Jan 2022 11:17:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7145DE05C1 for ; Mon, 24 Jan 2022 11:17:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51646342EFA for ; Mon, 24 Jan 2022 11:17:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E8D8166 for ; Mon, 24 Jan 2022 11:17:12 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1643022524.b4e8b1a1b30030971c2f7979e2dfce00304e464b.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocThrust/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/rocThrust/rocThrust-4.3.0-r1.ebuild X-VCS-Directories: sci-libs/rocThrust/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: b4e8b1a1b30030971c2f7979e2dfce00304e464b X-VCS-Branch: master Date: Mon, 24 Jan 2022 11:17:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 475ee382-9055-4856-9691-c043abef548e X-Archives-Hash: 684174b09e7334db8d8e818b022464d5 commit: b4e8b1a1b30030971c2f7979e2dfce00304e464b Author: Benda Xu gentoo org> AuthorDate: Mon Jan 24 11:06:32 2022 +0000 Commit: Benda XU gentoo org> CommitDate: Mon Jan 24 11:08:44 2022 +0000 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 000000000000..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 "/