diff options
author | Craig Andrews <candrews@gentoo.org> | 2019-08-14 22:54:19 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-08-14 22:54:40 -0400 |
commit | d008287ddbff76db2b8a1d6ab1d88c5ac8b1c94f (patch) | |
tree | d209cfe9c7b437d37ac3a0f52d5bcc045bccdab1 /dev-util/rocm-cmake | |
parent | sys-process/xjobs: new version 20190725. (diff) | |
download | gentoo-d008287ddbff76db2b8a1d6ab1d88c5ac8b1c94f.tar.gz gentoo-d008287ddbff76db2b8a1d6ab1d88c5ac8b1c94f.tar.bz2 gentoo-d008287ddbff76db2b8a1d6ab1d88c5ac8b1c94f.zip |
dev-util/rocm-cmake: 2.7.0 version bump
Package-Manager: Portage-2.3.71, Repoman-2.3.17
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-2.7.0.ebuild | 26 | ||||
-rw-r--r-- | dev-util/rocm-cmake/rocm-cmake-9999.ebuild | 3 |
3 files changed, 29 insertions, 1 deletions
diff --git a/dev-util/rocm-cmake/Manifest b/dev-util/rocm-cmake/Manifest index 24991e568f19..28d53fcb6a82 100644 --- a/dev-util/rocm-cmake/Manifest +++ b/dev-util/rocm-cmake/Manifest @@ -1 +1,2 @@ DIST rocm-cmake-0.2.tar.gz 12729 BLAKE2B 6380e077cdc0dcc8c40c487789bd4405a9104e0c55e68df0587c74ea140c329b28ef224bea0d9d529ddaca2c3b874e64be840f96191b8bae7d662de5854756b6 SHA512 b2ebd749fb99ac6dbeac005bb0de5ca57e12ae3590d560c0fd03371f2dd0fc6e7862e0bc96046b98b8248770852c6ee64dd349f22405e77d8a210884246213bd +DIST rocm-cmake-2.7.0.tar.gz 13352 BLAKE2B 1dd37f9beed98d2120a42505ef7463de672db01c1213262202819ea4ee76678a3126b7ca52e8738717618247a93af680534262ce56b718f7dc4ebb7f62acd358 SHA512 d08d08ea53c7242fccce808189048d195b8edbaa2a8f0a0fac4267a232dddaadab791f0bf2fe0c975f050cdac095531a2cabcab55157b5405f250f74fa0a01cc diff --git a/dev-util/rocm-cmake/rocm-cmake-2.7.0.ebuild b/dev-util/rocm-cmake/rocm-cmake-2.7.0.ebuild new file mode 100644 index 000000000000..d6c02fff0fd4 --- /dev/null +++ b/dev-util/rocm-cmake/rocm-cmake-2.7.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +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/roc-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/rocm-cmake-roc-${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-utils_src_prepare +} diff --git a/dev-util/rocm-cmake/rocm-cmake-9999.ebuild b/dev-util/rocm-cmake/rocm-cmake-9999.ebuild index eee840d3674b..d6c02fff0fd4 100644 --- a/dev-util/rocm-cmake/rocm-cmake-9999.ebuild +++ b/dev-util/rocm-cmake/rocm-cmake-9999.ebuild @@ -9,8 +9,9 @@ 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/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/RadeonOpenCompute/rocm-cmake/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" + S="${WORKDIR}/rocm-cmake-roc-${PV}" fi DESCRIPTION="Radeon Open Compute CMake Modules" |