diff options
author | Wilfried Holzke <gentoo@holzke.net> | 2020-08-22 17:55:24 +0200 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2020-08-22 13:28:50 -0400 |
commit | 9fa48c932c8790a5efb1d2d212002bf1e14a3c2d (patch) | |
tree | 6dec40fee45ae3d7b95de002853bdc2971bf8957 /dev-util/rocm-cmake | |
parent | dev-libs/rocm-device-libs: Version bump to 3.7.0 (diff) | |
download | gentoo-9fa48c932c8790a5efb1d2d212002bf1e14a3c2d.tar.gz gentoo-9fa48c932c8790a5efb1d2d212002bf1e14a3c2d.tar.bz2 gentoo-9fa48c932c8790a5efb1d2d212002bf1e14a3c2d.zip |
dev-util/rocm-cmake: Version bump to 3.7.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://github.com/gentoo/gentoo/pull/17210
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-util/rocm-cmake')
-rw-r--r-- | dev-util/rocm-cmake/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rocm-cmake/rocm-cmake-3.7.0.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/rocm-cmake/Manifest b/dev-util/rocm-cmake/Manifest index fd8262aa37e4..b6a6641b964f 100644 --- a/dev-util/rocm-cmake/Manifest +++ b/dev-util/rocm-cmake/Manifest @@ -6,3 +6,4 @@ DIST rocm-cmake-2.9.0.tar.gz 14185 BLAKE2B 7eaa8535eae99749d0a46b84daa4ee5d00fd7 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 +DIST rocm-cmake-3.7.0.tar.gz 15833 BLAKE2B 1e111ba502aa7a63b9f3785c44cf622d60f6380fbd7c86720a99d04f1bfa52201849e1316ac3af33857d257f0438f5db083877d6b6769bbd9842fdf59cc7a376 SHA512 3381ca5603a198f00b5e74fcb55e5279f1f9a63df712048c7aeb0fcfc50b94c4e090c33fd27275d2dfb257b39902d233d30df9d2da6d0a3b0962a440b3249ead diff --git a/dev-util/rocm-cmake/rocm-cmake-3.7.0.ebuild b/dev-util/rocm-cmake/rocm-cmake-3.7.0.ebuild new file mode 100644 index 000000000000..a8e68baa5599 --- /dev/null +++ b/dev-util/rocm-cmake/rocm-cmake-3.7.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 +} |