diff options
author | Wilfried Holzke <gentoo@holzke.net> | 2020-12-05 20:31:38 +0100 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2020-12-05 14:36:25 -0500 |
commit | ac123a292ae9ca8b495ed3f63295772232892061 (patch) | |
tree | 2a80a961c1134835dfe16a1805f714359c96ba73 /dev-util/rocm-cmake | |
parent | dev-libs/roct-thunk-interface: Version bump to 3.10.0 (diff) | |
download | gentoo-ac123a292ae9ca8b495ed3f63295772232892061.tar.gz gentoo-ac123a292ae9ca8b495ed3f63295772232892061.tar.bz2 gentoo-ac123a292ae9ca8b495ed3f63295772232892061.zip |
dev-util/rocm-cmake: Version bump to 3.10.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/18520
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.10.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 86ce26f868b7..f3b7fb465448 100644 --- a/dev-util/rocm-cmake/Manifest +++ b/dev-util/rocm-cmake/Manifest @@ -1,2 +1,3 @@ +DIST rocm-cmake-3.10.0.tar.gz 15825 BLAKE2B d54140431c5ce11250bd1b9fbdc03ce6de628a48e83fba89a93a4c6062319c52085ec036a7c1f2bf9605de3c276abfbec6864aea456ada5dfbde2f857da5394c SHA512 f58d17af522332b9a3366d47e44e61a361f83a3f5dcea6a410025e2383a1231435243ce123f5d8044e77b7572682be8d4d2a1f08d364e5be6a8cb25c4a8c4c69 DIST rocm-cmake-3.8.0.tar.gz 15823 BLAKE2B 321d31769cee254f9f9048104c7837fc6eb4a224d53e3e3ec18d5fa283f33cb116ece739a19f791cf62ac84f533933233461fd9e470b5c413363aa58fe23b57a SHA512 52e71033ef85b526edc00c1c11681c888ca7a50cf70a69f111ac2d7d32821340d8c812714a525711ff7ec54c8e7cbb79c4cb620a6e559699c509397ebf1b5886 DIST rocm-cmake-3.9.0.tar.gz 15815 BLAKE2B 86fedeb90ee27367b5fcfe842009055ef073932823fe54c9c6b7dfc7d08e92165c6cb4befebee347645777948b8c24de0c90f2547648cadbd34d39de2da540ef SHA512 bda392023494929ae743a81afdb4b802a3f7728a101ec06dd49c2e1d1165a2306d25beda6a4ea7dfc0aeeeee3f8bad8949d5c897618a362262570d6582c789db diff --git a/dev-util/rocm-cmake/rocm-cmake-3.10.0.ebuild b/dev-util/rocm-cmake/rocm-cmake-3.10.0.ebuild new file mode 100644 index 000000000000..a8e68baa5599 --- /dev/null +++ b/dev-util/rocm-cmake/rocm-cmake-3.10.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 +} |