diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-15 01:16:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-15 01:16:32 +0000 |
commit | 7387c23ff485f2416512185bf64584028335b993 (patch) | |
tree | 77f6578297f64937d732133db350b968dfe538e3 /dev-build/rocm-cmake | |
parent | d8a50857c27d3253561374390ac9ed8c1b65d9bc (diff) |
gentoo auto-resync : 15:01:2024 - 01:16:32
Diffstat (limited to 'dev-build/rocm-cmake')
-rw-r--r-- | dev-build/rocm-cmake/Manifest | 6 | ||||
-rw-r--r-- | dev-build/rocm-cmake/files/rocm-cmake-5.0.2-license.patch | 15 | ||||
-rw-r--r-- | dev-build/rocm-cmake/metadata.xml | 15 | ||||
-rw-r--r-- | dev-build/rocm-cmake/rocm-cmake-5.4.3.ebuild | 31 | ||||
-rw-r--r-- | dev-build/rocm-cmake/rocm-cmake-5.7.1.ebuild | 31 |
5 files changed, 98 insertions, 0 deletions
diff --git a/dev-build/rocm-cmake/Manifest b/dev-build/rocm-cmake/Manifest new file mode 100644 index 000000000000..0461cac19c57 --- /dev/null +++ b/dev-build/rocm-cmake/Manifest @@ -0,0 +1,6 @@ +AUX rocm-cmake-5.0.2-license.patch 631 BLAKE2B f3beee352aa6dba1d8b30e9e4193915d8b97d3aac3143f79b12c7b6f438a3557d6ee3eabb7835764cb5b2470f6f6f20ef82757356bd8e2f43eeeb8e20966d4c2 SHA512 818a019b93cfa0712fdb8faba32e7415aafa68b337cc147f3259165ffc028ec2e0353cfb0680053cdc8e8069c75df07356939eb7adb5b1295010e4d501a59546 +DIST rocm-cmake-5.4.3.tar.gz 46215 BLAKE2B ecdf93829ae77c1046157e4c8f219b74ebd30798e11be5fd270fe8dd568cbe5bbf25abdafbe18b0dcb185d97ca535a9aa2a1dfb7d973d17f167776b120f553d3 SHA512 fe039ea5bcab142c8cd3723aa570253f13f03fe5c500b0828275cc246a034ed52b9b7a47994e4caf72ae0402acf4e73e80b28224cc7874d85f94fd8e0e42947c +DIST rocm-cmake-5.7.1.tar.gz 50940 BLAKE2B f3a36cedfc15af69819b576bf8f8bdfe7b49e5dd1d4db57f707295f14a8d64904745f454fc211b28adfde369c82cb42a061c05b6675679e11a3946f6ebfea6d5 SHA512 1265ed8e23a04f9cff57b43f815e8fbbb1a3f200bc040e01ceaa92c322088c9ef04da795b09d732c6466dc9a3fefc505b8b474d3f18f55cff491758aa53a6e6b +EBUILD rocm-cmake-5.4.3.ebuild 775 BLAKE2B 00c9e426dee2cb49d2ec17149f388a8262217c4fe6bfef406bb9bb8c8e2ab2519f28b6043560bea3c0722729fcdebe7b7488ece5780783aaf6ab4a1534061d20 SHA512 90b114853f760f8622b7a1c3a403d81cd555258a41bea56b6ae5bca83d20287a5b314ecbc5413bccede7083e2aa5ae783dd215dda7e4fe954257e3dd927c1423 +EBUILD rocm-cmake-5.7.1.ebuild 775 BLAKE2B 00c9e426dee2cb49d2ec17149f388a8262217c4fe6bfef406bb9bb8c8e2ab2519f28b6043560bea3c0722729fcdebe7b7488ece5780783aaf6ab4a1534061d20 SHA512 90b114853f760f8622b7a1c3a403d81cd555258a41bea56b6ae5bca83d20287a5b314ecbc5413bccede7083e2aa5ae783dd215dda7e4fe954257e3dd927c1423 +MISC metadata.xml 504 BLAKE2B 5b7976e66353bfe9bec6d7c7ebb318d4f3922f4128e0a5f224fb983b876d9fd328c0d3dea68f4d92f3d740555eaaf5ef99de610957f0375076a3e8f5df04eb99 SHA512 32299ceb61b177b44e8117c5e2d249df25f75ddb5398bc1bd62bcb0462347a183fcdac6f9c14d6e2fd076d860dab401d9e6f7714ac3492adea7268edd953421f diff --git a/dev-build/rocm-cmake/files/rocm-cmake-5.0.2-license.patch b/dev-build/rocm-cmake/files/rocm-cmake-5.0.2-license.patch new file mode 100644 index 000000000000..b4a73e1bc2ed --- /dev/null +++ b/dev-build/rocm-cmake/files/rocm-cmake-5.0.2-license.patch @@ -0,0 +1,15 @@ +This is not needed. Gentoo automatically collect license files into +the documentation directory. + +Index: rocm-cmake-rocm-5.0.2/share/rocm/cmake/ROCMCreatePackage.cmake +=================================================================== +--- rocm-cmake-rocm-5.0.2.orig/share/rocm/cmake/ROCMCreatePackage.cmake ++++ rocm-cmake-rocm-5.0.2/share/rocm/cmake/ROCMCreatePackage.cmake +@@ -230,7 +230,6 @@ macro(rocm_create_package) + ") + endforeach() + endif() +- rocm_setup_license(${PARSE_HEADER_ONLY}) + if(PARSE_COMPONENTS) + rocm_set_comp_cpackvar(PARSE_HEADER_ONLY "${PARSE_COMPONENTS}") + endif() diff --git a/dev-build/rocm-cmake/metadata.xml b/dev-build/rocm-cmake/metadata.xml new file mode 100644 index 000000000000..e13f2f7b5728 --- /dev/null +++ b/dev-build/rocm-cmake/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <upstream> + <remote-id type="github">RadeonOpenCompute/rocm-cmake</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-build/rocm-cmake/rocm-cmake-5.4.3.ebuild b/dev-build/rocm-cmake/rocm-cmake-5.4.3.ebuild new file mode 100644 index 000000000000..706498981138 --- /dev/null +++ b/dev-build/rocm-cmake/rocm-cmake-5.4.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 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 +} diff --git a/dev-build/rocm-cmake/rocm-cmake-5.7.1.ebuild b/dev-build/rocm-cmake/rocm-cmake-5.7.1.ebuild new file mode 100644 index 000000000000..706498981138 --- /dev/null +++ b/dev-build/rocm-cmake/rocm-cmake-5.7.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 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 +} |