summaryrefslogtreecommitdiff
path: root/dev-util/rocm-cmake
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-09 18:06:43 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-09 18:06:43 +0100
commit4e4ee9865a958b6a854f9bca96637244c628d525 (patch)
tree824d75c3a55f71fc978cdd1fca5cb03ff439e59c /dev-util/rocm-cmake
parentc65def1225a421dd57ac582acefc5987c9d67e0d (diff)
gentoo auto-resync : 09:10:2023 - 18:06:43
Diffstat (limited to 'dev-util/rocm-cmake')
-rw-r--r--dev-util/rocm-cmake/Manifest2
-rw-r--r--dev-util/rocm-cmake/rocm-cmake-5.7.0.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/rocm-cmake/Manifest b/dev-util/rocm-cmake/Manifest
index 530acea9a1b8..318c1d0d8c7f 100644
--- a/dev-util/rocm-cmake/Manifest
+++ b/dev-util/rocm-cmake/Manifest
@@ -1,4 +1,6 @@
AUX rocm-cmake-5.0.2-license.patch 631 BLAKE2B f3beee352aa6dba1d8b30e9e4193915d8b97d3aac3143f79b12c7b6f438a3557d6ee3eabb7835764cb5b2470f6f6f20ef82757356bd8e2f43eeeb8e20966d4c2 SHA512 818a019b93cfa0712fdb8faba32e7415aafa68b337cc147f3259165ffc028ec2e0353cfb0680053cdc8e8069c75df07356939eb7adb5b1295010e4d501a59546
DIST rocm-cmake-5.4.3.tar.gz 46215 BLAKE2B ecdf93829ae77c1046157e4c8f219b74ebd30798e11be5fd270fe8dd568cbe5bbf25abdafbe18b0dcb185d97ca535a9aa2a1dfb7d973d17f167776b120f553d3 SHA512 fe039ea5bcab142c8cd3723aa570253f13f03fe5c500b0828275cc246a034ed52b9b7a47994e4caf72ae0402acf4e73e80b28224cc7874d85f94fd8e0e42947c
+DIST rocm-cmake-5.7.0.tar.gz 50943 BLAKE2B 615a1a7e1630f4b6c3d3fe4a57a2ef042f4d33b3fb39c4ed82d8d2cb7b7c0d964dfb6f0f61b9a57944d0024d0aa76574a111d6b35fb64b402c18e2d02c8ac8a8 SHA512 96bf8788c0a7bfc7e4d52531cf0819fc7207ac2c30f7202bd4f8390e4c2a85e1b417ee6490d9c88f887872f5a278f7d85c86768afd9d3149b92f457b0f5f5b95
EBUILD rocm-cmake-5.4.3.ebuild 775 BLAKE2B 773763137654d178de9f0e0f5077d5b5da2ad8a02d72791eebab1aa9c66081fc743fc99791d7c048aa0c88a15c2b2c140cc614d8fd63815bc37c32386c7d462c SHA512 d775c6c36ad9625e23356a12e2f6a94441262214b80e5625001a3691f3e150744a33fcdf71408e0dc3ea0b02f427f5bfb0a8c61030ad24842b4def9d3239c1b8
+EBUILD rocm-cmake-5.7.0.ebuild 775 BLAKE2B 773763137654d178de9f0e0f5077d5b5da2ad8a02d72791eebab1aa9c66081fc743fc99791d7c048aa0c88a15c2b2c140cc614d8fd63815bc37c32386c7d462c SHA512 d775c6c36ad9625e23356a12e2f6a94441262214b80e5625001a3691f3e150744a33fcdf71408e0dc3ea0b02f427f5bfb0a8c61030ad24842b4def9d3239c1b8
MISC metadata.xml 504 BLAKE2B 5b7976e66353bfe9bec6d7c7ebb318d4f3922f4128e0a5f224fb983b876d9fd328c0d3dea68f4d92f3d740555eaaf5ef99de610957f0375076a3e8f5df04eb99 SHA512 32299ceb61b177b44e8117c5e2d249df25f75ddb5398bc1bd62bcb0462347a183fcdac6f9c14d6e2fd076d860dab401d9e6f7714ac3492adea7268edd953421f
diff --git a/dev-util/rocm-cmake/rocm-cmake-5.7.0.ebuild b/dev-util/rocm-cmake/rocm-cmake-5.7.0.ebuild
new file mode 100644
index 000000000000..da962513dea8
--- /dev/null
+++ b/dev-util/rocm-cmake/rocm-cmake-5.7.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm-cmake/"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/RadeonOpenCompute/rocm-cmake/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/rocm-cmake-rocm-${PV}"
+fi
+
+DESCRIPTION="Radeon Open Compute CMake Modules"
+HOMEPAGE="https://github.com/RadeonOpenCompute/rocm-cmake"
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.0.2-license.patch
+)
+
+src_prepare() {
+ sed -e "/ROCM_INSTALL_LIBDIR/s:lib:$(get_libdir):" \
+ -i "${S}/share/rocm/cmake/ROCMInstallTargets.cmake" || die
+ cmake_src_prepare
+}