summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2024-07-28 07:56:35 +0000
committerPatrick Lauer <patrick@gentoo.org>2024-07-28 08:00:39 +0000
commit6d6e7ab3e55e2ad734dd25699f75f091f9c306f3 (patch)
treeee505e2b8087c9abe309fe4666562dcf0d9452c2 /dev-build/rocm-cmake
parentdev-lang/ruby: fix co-routines on x32 (diff)
downloadgentoo-6d6e7ab3e55e2ad734dd25699f75f091f9c306f3.tar.gz
gentoo-6d6e7ab3e55e2ad734dd25699f75f091f9c306f3.tar.bz2
gentoo-6d6e7ab3e55e2ad734dd25699f75f091f9c306f3.zip
dev-build/rocm-cmake: add 6.1.2
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-build/rocm-cmake')
-rw-r--r--dev-build/rocm-cmake/Manifest1
-rw-r--r--dev-build/rocm-cmake/rocm-cmake-6.1.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-build/rocm-cmake/Manifest b/dev-build/rocm-cmake/Manifest
index 4071eb7b0530..eee3894c9b05 100644
--- a/dev-build/rocm-cmake/Manifest
+++ b/dev-build/rocm-cmake/Manifest
@@ -1,2 +1,3 @@
DIST rocm-cmake-5.7.1.tar.gz 50940 BLAKE2B f3a36cedfc15af69819b576bf8f8bdfe7b49e5dd1d4db57f707295f14a8d64904745f454fc211b28adfde369c82cb42a061c05b6675679e11a3946f6ebfea6d5 SHA512 1265ed8e23a04f9cff57b43f815e8fbbb1a3f200bc040e01ceaa92c322088c9ef04da795b09d732c6466dc9a3fefc505b8b474d3f18f55cff491758aa53a6e6b
DIST rocm-cmake-6.1.1.tar.gz 86888 BLAKE2B 91064e82199ac317c273005b9b6c07e33ab5199b456467e84ac0937036d26d1d5c1286e1e38932b2da11700fb2a7a90795e34d4a7c03ed3bf58959402060091e SHA512 af6d4e124a3ec4d1e810867db69d738ebe7cfea672065bb5279b72a4d4efce8c14305e76173f760044977082c6aa069453d8eef488368a88ac57eb9df20f8b0c
+DIST rocm-cmake-6.1.2.tar.gz 86889 BLAKE2B 66e31b629171a5746eefd83e1ff14826a02f5d20a7b3125e20177bf801fa48526f541fcf9be0c832041a237799cd3d38a3daaec8f4dc17a5c048f7d603b7ef30 SHA512 9c83bd0b69a8bf040ddf9508df4ea8fb5daaaf8720f4b60ba3d6e4cc62b00a7dcfeead40cd37a6343b2173f9cf5db2e21f054661dcc2ac0591426e37ba61d3ba
diff --git a/dev-build/rocm-cmake/rocm-cmake-6.1.2.ebuild b/dev-build/rocm-cmake/rocm-cmake-6.1.2.ebuild
new file mode 100644
index 000000000000..7d097ae7d18f
--- /dev/null
+++ b/dev-build/rocm-cmake/rocm-cmake-6.1.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/ROCm/rocm-cmake.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/ROCm/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/ROCm/rocm-cmake"
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+RESTRICT="test"
+
+DOCS=( CHANGELOG.md LICENSE README.md )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.1.1-license.patch
+ "${FILESDIR}"/${PN}-6.1.1-no-rocmchecks-warnings.patch
+)
+
+src_prepare() {
+ sed -e "/CMAKE_INSTALL_LIBDIR/s:lib:$(get_libdir):" \
+ -i "share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake" \
+ -i "share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake" || die
+ cmake_src_prepare
+}