summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfried Holzke <gentoo@holzke.net>2020-06-07 10:18:33 +0200
committerCraig Andrews <candrews@gentoo.org>2020-06-07 14:16:34 -0400
commit87b791d2439834c6c18705b00058a3f4a7255d31 (patch)
treec6052405f5f1b8949706af123dd1fce1097578a8 /dev-util/rocm-cmake
parentgui-apps/waybar: drop to m-n (diff)
downloadgentoo-87b791d2439834c6c18705b00058a3f4a7255d31.tar.gz
gentoo-87b791d2439834c6c18705b00058a3f4a7255d31.tar.bz2
gentoo-87b791d2439834c6c18705b00058a3f4a7255d31.zip
dev-util/rocm-cmake: New ebuild for rocm-cmake 3.5.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net> Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://github.com/gentoo/gentoo/pull/16105 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-util/rocm-cmake')
-rw-r--r--dev-util/rocm-cmake/Manifest1
-rw-r--r--dev-util/rocm-cmake/rocm-cmake-3.5.0.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/rocm-cmake/Manifest b/dev-util/rocm-cmake/Manifest
index f1acfd12d096..fd8262aa37e4 100644
--- a/dev-util/rocm-cmake/Manifest
+++ b/dev-util/rocm-cmake/Manifest
@@ -5,3 +5,4 @@ DIST rocm-cmake-2.8.0.tar.gz 13677 BLAKE2B 24fdb6685190e06be0afe9184b048d1be36f6
DIST rocm-cmake-2.9.0.tar.gz 14185 BLAKE2B 7eaa8535eae99749d0a46b84daa4ee5d00fd7e992a63d97fb578319a3dc309a61b1b239af4b58ee5c668c0c45e944138c85ab2a5aa3da1f83b129ca6a874c6d6 SHA512 ba619d428e7f5bbd2970eb84df1421e0734f33a259d5c98a62a8ea4859eac5fdaba0d0d36fb504618e605c0c6d62213d696e265054814926b9156822e3cd1f24
DIST rocm-cmake-3.0.0.tar.gz 14239 BLAKE2B 31876239f0bc21b2d37cacb69e3ff1199d7ffa27c92ae1af6e18959af40e6e3bf59279a2fb12b64927e741325c27e6f9b988918e0b6773181bd2ae93fe3b5d8f SHA512 c70e53256c6d4bbd40c9f32939c4aae27ade7191050cd30bcbc7ea8da07493cc1ff8911ebc4a6a4ed1bc12a3e799a5c238539916587a87fd7627408a88fe2f6c
DIST rocm-cmake-3.3.0.tar.gz 14462 BLAKE2B 1af1b0c10a728b3a5da483c1fc529a0ea586f11f34aaf42983bd1f009c6f92f094cd209ab580ff5c6bc098dfd0a8d860a305264a9235db9ddc3a024d93c6e3c3 SHA512 529ed79a6edf8b37765b4e1af586e51b8aa646dc6f7a4b07c0ec144247b5533b996a1e16d00c7c9182706b419fe9ba598ee41a29761ea7f6eb39503ec6902760
+DIST rocm-cmake-3.5.0.tar.gz 15828 BLAKE2B 3de221b6937f3fb207bb7deb46506ad229eb3e222da4b1dbdf8bde4b8737538000c7efed5b187a4261ba6edc85fa65b672ac1f33fde488eec3ffd201f6975d75 SHA512 13e7c2377f1aaca5a07c796ad1e0a2edfd4ef0800d7ec7fa7b26a44869e1d760604dc29ca2b4ca9887549a6c287873b21bcbb8b5ca2dcd7636e96abb4e7a2679
diff --git a/dev-util/rocm-cmake/rocm-cmake-3.5.0.ebuild b/dev-util/rocm-cmake/rocm-cmake-3.5.0.ebuild
new file mode 100644
index 000000000000..a8e68baa5599
--- /dev/null
+++ b/dev-util/rocm-cmake/rocm-cmake-3.5.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 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"
+RESTRICT="test"
+
+src_prepare() {
+ sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR $(get_libdir)):" -i "${S}/share/rocm/cmake/ROCMInstallTargets.cmake" || die
+ cmake_src_prepare
+}