diff options
author | Niccolò Belli <niccolo.belli@linuxsystems.it> | 2023-02-20 16:31:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-22 16:14:57 +0000 |
commit | e309f16cec98c3aeaf78b889751ba5593a982db3 (patch) | |
tree | c9be3ffffecb271455de1cd2720c865117a3b128 /dev-util/rocm-cmake | |
parent | dev-libs/roct-thunk-interface: add 5.4.3 (diff) | |
download | gentoo-e309f16cec98c3aeaf78b889751ba5593a982db3.tar.gz gentoo-e309f16cec98c3aeaf78b889751ba5593a982db3.tar.bz2 gentoo-e309f16cec98c3aeaf78b889751ba5593a982db3.zip |
dev-util/rocm-cmake: add 5.4.3
Signed-off-by: Niccolò Belli <niccolo.belli@linuxsystems.it>
Signed-off-by: Sam James <sam@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-5.4.3.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/rocm-cmake/Manifest b/dev-util/rocm-cmake/Manifest index ff4b10d08364..b5270672249d 100644 --- a/dev-util/rocm-cmake/Manifest +++ b/dev-util/rocm-cmake/Manifest @@ -1,2 +1,3 @@ DIST rocm-cmake-5.1.3.tar.gz 39781 BLAKE2B 9ffe9ce6390889b651ffbb8019dc8f0274f8aa3ac7cf14da05f828ab952c575ff34e120f0cef3b3fd46bff208f47a3d293feff2c77a1104e942c5d9f4303f61c SHA512 31dfbfd822a9b6f817ef459df171e4a2ba16556d00ad8b3b5be3ebebffe03cbbd815d394cc6452509e47424a3cac50e523e31923b2b9c48d586163ead2338c74 DIST rocm-cmake-5.3.3.tar.gz 45846 BLAKE2B d2560c28505b43bba242e02c79faebef6f9a87b6175825c1fe9c98f1a55804286a3d417f7eb325b0d56ffc9b081617046ba212fcb399c788cc41479da508d5c9 SHA512 0d2f06eb68fec297db0001529bf0780bec3f25a7e915f30713736068075bf13445faea3f47c811002cd2fdf0cab4baefd69420497391e27bee466744eafd46ce +DIST rocm-cmake-5.4.3.tar.gz 46215 BLAKE2B ecdf93829ae77c1046157e4c8f219b74ebd30798e11be5fd270fe8dd568cbe5bbf25abdafbe18b0dcb185d97ca535a9aa2a1dfb7d973d17f167776b120f553d3 SHA512 fe039ea5bcab142c8cd3723aa570253f13f03fe5c500b0828275cc246a034ed52b9b7a47994e4caf72ae0402acf4e73e80b28224cc7874d85f94fd8e0e42947c diff --git a/dev-util/rocm-cmake/rocm-cmake-5.4.3.ebuild b/dev-util/rocm-cmake/rocm-cmake-5.4.3.ebuild new file mode 100644 index 000000000000..da962513dea8 --- /dev/null +++ b/dev-util/rocm-cmake/rocm-cmake-5.4.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 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/$(ver_cut 1-2)" +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-5.0.2-license.patch +) + +src_prepare() { + sed -e "/ROCM_INSTALL_LIBDIR/s:lib:$(get_libdir):" \ + -i "${S}/share/rocm/cmake/ROCMInstallTargets.cmake" || die + cmake_src_prepare +} |