summaryrefslogtreecommitdiff
path: root/dev-util/rocm-cmake
diff options
context:
space:
mode:
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.3.3.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/rocm-cmake/Manifest b/dev-util/rocm-cmake/Manifest
index 495aa626e9ec..340d973291eb 100644
--- a/dev-util/rocm-cmake/Manifest
+++ b/dev-util/rocm-cmake/Manifest
@@ -1,7 +1,9 @@
AUX rocm-cmake-5.0.2-license.patch 631 BLAKE2B f3beee352aa6dba1d8b30e9e4193915d8b97d3aac3143f79b12c7b6f438a3557d6ee3eabb7835764cb5b2470f6f6f20ef82757356bd8e2f43eeeb8e20966d4c2 SHA512 818a019b93cfa0712fdb8faba32e7415aafa68b337cc147f3259165ffc028ec2e0353cfb0680053cdc8e8069c75df07356939eb7adb5b1295010e4d501a59546
DIST rocm-cmake-5.0.2.tar.gz 34496 BLAKE2B 94a19c51e318bade4034ab219bd4ef7f4adbb412d0306ab38a0d3e5a6fb178d42a793997e097b45b9d07e4a0b38fb32db137a7ec3d8540ab76035774f00a34d5 SHA512 c9378b13c4d9fddc82d12e3889851368b959dfe490227f4e8494c07d5e397e369cc80b4aadaf977ed382150b972dddd54b9bcf291bd640bab5ab35cd5b002b6f
DIST rocm-cmake-5.1.3.tar.gz 39781 BLAKE2B 9ffe9ce6390889b651ffbb8019dc8f0274f8aa3ac7cf14da05f828ab952c575ff34e120f0cef3b3fd46bff208f47a3d293feff2c77a1104e942c5d9f4303f61c SHA512 31dfbfd822a9b6f817ef459df171e4a2ba16556d00ad8b3b5be3ebebffe03cbbd815d394cc6452509e47424a3cac50e523e31923b2b9c48d586163ead2338c74
+DIST rocm-cmake-5.3.3.tar.gz 45846 BLAKE2B d2560c28505b43bba242e02c79faebef6f9a87b6175825c1fe9c98f1a55804286a3d417f7eb325b0d56ffc9b081617046ba212fcb399c788cc41479da508d5c9 SHA512 0d2f06eb68fec297db0001529bf0780bec3f25a7e915f30713736068075bf13445faea3f47c811002cd2fdf0cab4baefd69420497391e27bee466744eafd46ce
EBUILD rocm-cmake-5.0.2-r1.ebuild 775 BLAKE2B 2e5d016a04ac4837e1740f2961870943617bc447f8dca2fd024cfd3f25dbdbef8ad26a981b681a2feb840900824da832a75db73cfa3c53246b3b1cf31813c193 SHA512 a5c69b0d930960f560eb2fca33a39bd627c99528f052d85a94f3c5e951d47bb7e927d1a5e29e0f8804eb96900e339136cbbb500a2f4b5f794698742ce44c5673
EBUILD rocm-cmake-5.1.3.ebuild 775 BLAKE2B 2e5d016a04ac4837e1740f2961870943617bc447f8dca2fd024cfd3f25dbdbef8ad26a981b681a2feb840900824da832a75db73cfa3c53246b3b1cf31813c193 SHA512 a5c69b0d930960f560eb2fca33a39bd627c99528f052d85a94f3c5e951d47bb7e927d1a5e29e0f8804eb96900e339136cbbb500a2f4b5f794698742ce44c5673
+EBUILD rocm-cmake-5.3.3.ebuild 775 BLAKE2B 2e5d016a04ac4837e1740f2961870943617bc447f8dca2fd024cfd3f25dbdbef8ad26a981b681a2feb840900824da832a75db73cfa3c53246b3b1cf31813c193 SHA512 a5c69b0d930960f560eb2fca33a39bd627c99528f052d85a94f3c5e951d47bb7e927d1a5e29e0f8804eb96900e339136cbbb500a2f4b5f794698742ce44c5673
EBUILD rocm-cmake-9999.ebuild 731 BLAKE2B 463d3a82ab60695d46d43566435db7d3c8e09848a9d43b3c810a6c82628fa882deb81e94b134ec7b5661e4530dff9a9dd407043348bbcb100ad2d7318277a904 SHA512 6fdd1d769eaf846f8e582fa24316da54e6d4210a7b08094300930941d3bee8b671919a4589fb28d3ddb5df61f5ce6969b858de6a0c5fc9de7530e9351df9cd29
MISC metadata.xml 372 BLAKE2B d476bc60c5fdfc14c214db2fa6cdb09e97a99ee4a6320e51db7332afea9ded612e54e44680474e662810fdcf70d01457f582bb9495ef20fd98fd1b008f636e4c SHA512 2ae528e0cb9221b053295cd2eca87988905b08429e81b911f21163770164d27444f5227d2bb26174d46cde2c054a1bc8c3a120c8e0f404cfa92f98c64253a481
diff --git a/dev-util/rocm-cmake/rocm-cmake-5.3.3.ebuild b/dev-util/rocm-cmake/rocm-cmake-5.3.3.ebuild
new file mode 100644
index 000000000000..ac9cb2351f34
--- /dev/null
+++ b/dev-util/rocm-cmake/rocm-cmake-5.3.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 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
+}