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 9CFDA15800A for ; Sun, 30 Jul 2023 04:39:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 788D8E0AFD; Sun, 30 Jul 2023 04:39:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 619C8E0AFD for ; Sun, 30 Jul 2023 04:39:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97CE4340441 for ; Sun, 30 Jul 2023 04:39:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A88EE99 for ; Sun, 30 Jul 2023 04:39:05 +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: <1690691734.9edc7b68ee8a0e1f2e6e18f4675e97e5f257dc7f.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipRAND/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/hipRAND/Manifest sci-libs/hipRAND/hipRAND-5.6.0.ebuild sci-libs/hipRAND/metadata.xml X-VCS-Directories: sci-libs/hipRAND/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 9edc7b68ee8a0e1f2e6e18f4675e97e5f257dc7f X-VCS-Branch: master Date: Sun, 30 Jul 2023 04:39:05 +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: 5bc13b3f-2003-43af-bb99-a59c7fdeb0a4 X-Archives-Hash: 848af9253d48b0e08a0a32347e24c515 commit: 9edc7b68ee8a0e1f2e6e18f4675e97e5f257dc7f Author: Benda Xu gentoo org> AuthorDate: Sun Jul 30 03:10:20 2023 +0000 Commit: Benda XU gentoo org> CommitDate: Sun Jul 30 04:35:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9edc7b68 sci-libs/hipRAND: new package, add 5.6.0 Signed-off-by: Benda Xu gentoo.org> sci-libs/hipRAND/Manifest | 1 + sci-libs/hipRAND/hipRAND-5.6.0.ebuild | 36 +++++++++++++++++++++++++++++++++++ sci-libs/hipRAND/metadata.xml | 15 +++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/sci-libs/hipRAND/Manifest b/sci-libs/hipRAND/Manifest new file mode 100644 index 000000000000..bdb2c56b0452 --- /dev/null +++ b/sci-libs/hipRAND/Manifest @@ -0,0 +1 @@ +DIST hipFFT-rocm-5.6.0.tar.gz 477597 BLAKE2B fdc88ac7076ab6b31ba794f9274881323fba32295bab5b90e38d8c8f336e0255b7d20dcba6e334b7bacd8b67eaac8a3ac6e11e3d490e7c95a973d16c9598922f SHA512 47d0cca92b458f8ef682b3c15fe4ccc5201370b1458e541080dc2150e98256962b78806c20b26d789b232d420eb305639fa50180e379ba123851d35d24d40cb2 diff --git a/sci-libs/hipRAND/hipRAND-5.6.0.ebuild b/sci-libs/hipRAND/hipRAND-5.6.0.ebuild new file mode 100644 index 000000000000..d0bd5ace71e4 --- /dev/null +++ b/sci-libs/hipRAND/hipRAND-5.6.0.ebuild @@ -0,0 +1,36 @@ +# 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="CU / ROCM agnostic hip RAND implementation" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipRAND" +SRC_URI="https://github.com/ROCmSoftwarePlatform/hipRAND/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz" +REQUIRED_USE="${ROCM_REQUIRED_USE}" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1-2)" + +RESTRICT="test" + +RDEPEND="dev-util/hip + sci-libs/rocRAND:${SLOT}[${ROCM_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="" + +S="${WORKDIR}/hipRAND-rocm-${PV}" + +src_configure() { + local mycmakeargs=( + -DAMDGPU_TARGETS="$(get_amdgpu_flags)" + -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DROCM_SYMLINK_LIBS=OFF + ) + + CXX=hipcc cmake_src_configure +} diff --git a/sci-libs/hipRAND/metadata.xml b/sci-libs/hipRAND/metadata.xml new file mode 100644 index 000000000000..27c8916b67d4 --- /dev/null +++ b/sci-libs/hipRAND/metadata.xml @@ -0,0 +1,15 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + xgreenlandforwyy@gmail.com + Yiyang Wu + + + ROCmSoftwarePlatform/hipRAND + +