summaryrefslogtreecommitdiff
path: root/sci-libs/hipRAND
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-30 10:41:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-30 10:41:39 +0100
commitd97adbb13d8d4ce3f0521498a11e3d3af2154de2 (patch)
treea23f2eb147d7ff7bd988c4b80727987a5d1e2d54 /sci-libs/hipRAND
parent332763613830233610011722737f7dbccdae4931 (diff)
gentoo auto-resync : 30:07:2023 - 10:41:38
Diffstat (limited to 'sci-libs/hipRAND')
-rw-r--r--sci-libs/hipRAND/Manifest3
-rw-r--r--sci-libs/hipRAND/hipRAND-5.6.0.ebuild36
-rw-r--r--sci-libs/hipRAND/metadata.xml15
3 files changed, 54 insertions, 0 deletions
diff --git a/sci-libs/hipRAND/Manifest b/sci-libs/hipRAND/Manifest
new file mode 100644
index 000000000000..38b697c3e519
--- /dev/null
+++ b/sci-libs/hipRAND/Manifest
@@ -0,0 +1,3 @@
+DIST hipFFT-rocm-5.6.0.tar.gz 477597 BLAKE2B fdc88ac7076ab6b31ba794f9274881323fba32295bab5b90e38d8c8f336e0255b7d20dcba6e334b7bacd8b67eaac8a3ac6e11e3d490e7c95a973d16c9598922f SHA512 47d0cca92b458f8ef682b3c15fe4ccc5201370b1458e541080dc2150e98256962b78806c20b26d789b232d420eb305639fa50180e379ba123851d35d24d40cb2
+EBUILD hipRAND-5.6.0.ebuild 825 BLAKE2B 0363d94ed0bb68ab437d62966e8c261fb8c5d31fa7ba4abc52325e28cc7d3b857ccdaf5158c03478b0f72ceb89545965452257ddb72d30d7a7c6a3776c788ced SHA512 16f97156691aaaf630e6c040b6ec6594a85c9420a16e2f6be2a37d6b21973d85130dd283801750986c8ae5ae47a1d2f396b010284ee6407d918b26d8c7068b92
+MISC metadata.xml 489 BLAKE2B 9dbd5a5d1c3d7deeb191eb70c48ec9f4abd11a6362a81f93fb54116a4687edf9cf1113179af884bd346b9bfb4c785437dd674251903b233589ba8556e5316644 SHA512 4f85aa13c08b7ccab6c1db816f805a987a3ee33991dacba683fabf7f40ff7288660f725296dfdda68d9ae9ff5d5150cde9b6e9303f481960665a2085b5f62ef0
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>xgreenlandforwyy@gmail.com</email>
+ <name>Yiyang Wu</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ROCmSoftwarePlatform/hipRAND</remote-id>
+ </upstream>
+</pkgmetadata>