diff options
author | Wilfried Holzke <gentoo@holzke.net> | 2021-05-22 20:27:18 +0200 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2021-05-22 15:52:30 -0400 |
commit | ed220888dd2f89659d1e0f4d8458e889711a15ee (patch) | |
tree | 5e8d45c462103570fad292e0c639cd95817f2a28 /dev-util/rocm-cmake | |
parent | app-misc/pax-utils: stable 1.3.1 for hppa/sparc, bug #791277 (diff) | |
download | gentoo-ed220888dd2f89659d1e0f4d8458e889711a15ee.tar.gz gentoo-ed220888dd2f89659d1e0f4d8458e889711a15ee.tar.bz2 gentoo-ed220888dd2f89659d1e0f4d8458e889711a15ee.zip |
dev-util/rocm-cmake: Version bump to 4.2.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net>
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/20935
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-4.2.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 6b63068a3ca8..a7b7dabc4801 100644 --- a/dev-util/rocm-cmake/Manifest +++ b/dev-util/rocm-cmake/Manifest @@ -3,3 +3,4 @@ DIST rocm-cmake-3.8.0.tar.gz 15823 BLAKE2B 321d31769cee254f9f9048104c7837fc6eb4a DIST rocm-cmake-3.9.0.tar.gz 15815 BLAKE2B 86fedeb90ee27367b5fcfe842009055ef073932823fe54c9c6b7dfc7d08e92165c6cb4befebee347645777948b8c24de0c90f2547648cadbd34d39de2da540ef SHA512 bda392023494929ae743a81afdb4b802a3f7728a101ec06dd49c2e1d1165a2306d25beda6a4ea7dfc0aeeeee3f8bad8949d5c897618a362262570d6582c789db DIST rocm-cmake-4.0.0.tar.gz 15815 BLAKE2B a6e6ce5f63ea6e1c14ce4c74a627d54987321e20d977e575615caa7037f2e3c734cc9f88dc5cdff7a9ee81caefab17440043bdc88a201d4fec29eb167ea709fe SHA512 1d42f7d17f783355b7d559db17020258dd686a0439c481cde04bb3750494dc2e5757dad0fed7e96c1da6ce875b03f97366efec5a75ece09fd92fbd9265a58e34 DIST rocm-cmake-4.1.0.tar.gz 19736 BLAKE2B 1a7baec723155f0e760682296eb940ec723a0b2c9321209ca3beb81f35614830ceb9d6b6f73fcd499f6e6a3608a9d665cd478f5b2d1b6dd01cf55e6c8000135f SHA512 86ea9db05975472148f4146079246dd7179089e416bcac2f4d82d0152275c5b9372455a92328cece87b220022d2874c8300eb9f6108283ae6f643cc01baebf11 +DIST rocm-cmake-4.2.0.tar.gz 22147 BLAKE2B 14d90d187a845fd148b77cd73a628653405be42859cf981e2dcec7abf46edc5d30ab50792754fb4a75267cc2c574b68e5d6e1af2f3ca69c75c67dc40c71fce4d SHA512 7ddbdef28e4490936fa7334e1aca273fa1510332609a3d7ed79a8fa448ec032843883c46411995c3868f585f184e0c13a2e0be6d667d1f8532e07d968d810ac8 diff --git a/dev-util/rocm-cmake/rocm-cmake-4.2.0.ebuild b/dev-util/rocm-cmake/rocm-cmake-4.2.0.ebuild new file mode 100644 index 000000000000..e23ea832ca54 --- /dev/null +++ b/dev-util/rocm-cmake/rocm-cmake-4.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 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 +} |