diff options
Diffstat (limited to 'dev-util/roctracer')
-rw-r--r-- | dev-util/roctracer/Manifest | 5 | ||||
-rw-r--r-- | dev-util/roctracer/files/roctracer-3.8.0-gen_ostream_ops-toPython3.patch | 28 | ||||
-rw-r--r-- | dev-util/roctracer/roctracer-4.0.0-r1.ebuild | 58 | ||||
-rw-r--r-- | dev-util/roctracer/roctracer-4.2.0-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-util/roctracer/roctracer-4.3.0-r3.ebuild | 80 |
5 files changed, 0 insertions, 232 deletions
diff --git a/dev-util/roctracer/Manifest b/dev-util/roctracer/Manifest index 2a1578462cf0..890787a739ee 100644 --- a/dev-util/roctracer/Manifest +++ b/dev-util/roctracer/Manifest @@ -1,10 +1,5 @@ DIST hsa-class-f8b3870.tar.gz 37432 BLAKE2B c2a09e4a4c3708e8db432378874c63b9cefefb567ad19a9c17181ed2b60f38d0591a618f72b11f606eb44efc5e170adaf72f0ec1b93cde628ca2230a62e2d6de SHA512 f371a955bf59b7e0af07261981a6e68562fad0753d3f39d1e220034c17501abf839ed2fd88fbf376d659970395c8795a82c0560c7ed8d3b87c11c79864f5f612 -DIST rocm-tracer-4.0.0.tar.gz 462166 BLAKE2B 1294b5639a743a9d32737c72dc0f082b5a33ee1b3365f48221ad6392cdde7637926c42ea344fa96e9fc8410ea04e9ce3f535e188a25130f4be764c4d4a59b69c SHA512 312cd6c4c98a83e28a9f8b9e6123862af2e80a0d0852acff11be65d198f277c6ea194e72f6dbaccab1dd5d4af318bef28ca546e49440f22d024a546a4e5e9e15 -DIST rocm-tracer-4.2.0.tar.gz 476974 BLAKE2B 3a7be9c269fec5dcca98d7de514d97a2e1de7bbfaa54a1aca2df70453d05326564c8ee7bf793c7d176069ecd3f7f91409c6a20dd0773aa157f7abc1dac41448e SHA512 002d9fccee4761af4853e589b116bc5844b98abb84517c260aedcb5f31f5c92b862a233062ec280a6f878343c4f751d55f47fd38483e1882feb8c970f9836120 -DIST rocm-tracer-4.3.0.tar.gz 477647 BLAKE2B d597df2efef0c750637c8f509b89ad62927cb839ba7c9a42fa71882ee13d4a0bba295af19b02eda5310421e53187e9a98a76777f0d3a587e7e652ecf4c10cb6a SHA512 47ea2705a361cb863f33a9f4c1a7d5005bb679221fa95f14dd5404ef5af32377bad5c7d9807e2fff8030a9c26ac4230f2bab833344ef49ecebbd5653f0edfc2c DIST rocm-tracer-5.0.2.tar.gz 474669 BLAKE2B b350111590140e1282338e4f134caf6228677c49361ceb9bc7ba0da8709346daa4fd014644c04adff0e903dba6014a84edd2eb3a5c132a8f91b479e4d5b085e5 SHA512 3fc1449cc9c9bf83e5233a7a0e83c0e3fa9da225d5ee4427b7d6fa15e3580497e1b9fbcd63892e4a99df01582aecd3ccfd66d2a19af2d8c25949ee705894ea44 DIST rocm-tracer-5.1.3.tar.gz 511617 BLAKE2B 4142979b3b7d649798a7ac0b2a04b42aa7fbcbf82f2cf51b0e5363ec0da538046d6e59283d0ce1bfd341317bf24ac2f694d5c8a7d1f132f9b21caea5caf7eda3 SHA512 e73b0c921ffbdcac571d8b0825de39bd8a4fd5f2720ecdd0c189951db85efb607a0b1cd7a9bb02b3dbf329b277cb5e197525216a8e8927eea4e6ce290b7e7c7b -DIST rocprofiler-4.2.0.tar.gz 1408433 BLAKE2B b35a7710d680167bad78ff74be153ea994ea919d572c5091ecec73d614bebb7ec14a14d81a0cabbe514b8439ddd7225f1a3a3fa7a0b653c33f938568bbe0c593 SHA512 35d3e9648bc5ee60bbddc15c9675efba7de3b4b3b725b9623e71a83007b8f23a323cc1da82e67f0ff425e5f827d6c632435bf465be8cba8c775405ead3f0f3be -DIST rocprofiler-4.3.0.tar.gz 1402250 BLAKE2B 3826c3b26b0d5838ab3475614c2ecd2265e177fe40b8a90abb491746513bd50841e5ceb34d1fcb4bcb2fbe8a6854b9715d0670d38f08775e5e14cd855f15629b SHA512 e327146604459f2f827ab943a21d0eaa0ee41cf6770ab94dd019d461cf6438e70a48139ce67ec1553d0f450fa5bb233a7ed39438e8bf39b33218d53e2c270d3b DIST rocprofiler-5.0.2.tar.gz 1401732 BLAKE2B ae870bc50dbd39c11e24f77ccb41773df1107b76cb7a12e1cebc66f8d66ddba6ad3bd6f9fe61657b03b22ef35f88fb608cf6070178f6aab24fe7a1bdcac43a96 SHA512 244e2b827126b7299ec0510daa5e1245a4a5a877394419f8bc9113f443231f67fc935609cbde6eeb26bb138ab4e95e2a88829ffa79ecc8f9881b5a77b5910c02 DIST rocprofiler-5.1.3.tar.gz 1402172 BLAKE2B 16e9b127ede94a3f96056e84a2942b6c9f3aec90579fb12796ab8ba385160aa020e3dc77f7a475dadbc0a813a823ae733ca9560f6a09e55c4c82b13dd792dfa4 SHA512 6e9932a425eaaa2a1e1741280d7525c6360700f85edb3bcf4967fe9be4fed662bae0d2ba609701f0d9733769c340e93e32076024b27bab3303449c1d68d9e1ce diff --git a/dev-util/roctracer/files/roctracer-3.8.0-gen_ostream_ops-toPython3.patch b/dev-util/roctracer/files/roctracer-3.8.0-gen_ostream_ops-toPython3.patch deleted file mode 100644 index b73949b92331..000000000000 --- a/dev-util/roctracer/files/roctracer-3.8.0-gen_ostream_ops-toPython3.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/script/gen_ostream_ops.py 2020-09-27 11:23:37.833756185 +0200 -+++ b/script/gen_ostream_ops.py 2020-09-27 11:21:25.763756688 +0200 -@@ -176,9 +176,9 @@ - process_struct(f, c, cppHeader, "", apiname) - global_str = "\n".join(global_str.split("\n")[0:-2]) - if structs_depth != -1: #reindent -- global_str = string.split(global_str, '\n') -- global_str = [' ' + string.lstrip(line) for line in global_str] -- global_str = string.join(global_str, '\n') -+ global_str = global_str.split('\n') -+ global_str = [' ' + line.lstrip() for line in global_str] -+ global_str = str.join('\n', global_str) - f.write(global_str+"\n") - if structs_depth != -1: - f.write(" };\n") -@@ -199,9 +199,9 @@ - process_struct(f, c, cppHeader, "", apiname) - global_str = "\n".join(global_str.split("\n")[0:-2]) - if structs_depth != -1: #reindent -- global_str = string.split(global_str, '\n') -- global_str = [' ' + string.lstrip(line) for line in global_str] -- global_str = string.join(global_str, '\n') -+ global_str = global_str.split('\n') -+ global_str = [' ' + line.lstrip() for line in global_str] -+ global_str = str.join('\n', global_str) - f.write(global_str+"\n") - if structs_depth != -1: - f.write(" };\n") diff --git a/dev-util/roctracer/roctracer-4.0.0-r1.ebuild b/dev-util/roctracer/roctracer-4.0.0-r1.ebuild deleted file mode 100644 index 04c9a3080f20..000000000000 --- a/dev-util/roctracer/roctracer-4.0.0-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake prefix - -DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's" -HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git" -SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-libs/rocr-runtime - sys-devel/llvm-roc - dev-util/hip" -DEPEND="dev-python/CppHeaderParser - dev-python/ply - ${RDEPEND}" - -PATCHES=( - "${FILESDIR}/roctracer-3.8.0-gen_ostream_ops-toPython3.patch" -) - -S="${WORKDIR}/roctracer-rocm-${PV}" - -src_prepare() { - # do not build the tool and it´s library; - # change destination for headers to include/roctracer; - # do not install a second set of header files; - sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \ - -e "/add_subdirectory ( \${TEST_DIR} \${PROJECT_BINARY_DIR}/d" \ - -e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \ - -e "/install ( FILES \${CMAKE_CURRENT_SOURCE_DIR}/d" \ - -e "/install ( FILES \${PROJECT_BINARY_DIR}/d" \ - -i CMakeLists.txt || die - - # do not download additional sources via git - sed -e "/execute_process ( COMMAND sh -xc \"if/d" \ - -e "/add_subdirectory ( \${TEST_DIR} \${PROJECT_BINARY_DIR}/d" \ - -i test/CMakeLists.txt || die - - hprefixify script/*.py - - eapply_user - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DHIP_VDI=1 - -DCMAKE_PREFIX_PATH="${EPREFIX}/usr/include/hsa:${EPREFIX}/usr/lib" - ) - - cmake_src_configure -} diff --git a/dev-util/roctracer/roctracer-4.2.0-r1.ebuild b/dev-util/roctracer/roctracer-4.2.0-r1.ebuild deleted file mode 100644 index 37aa6688e7ff..000000000000 --- a/dev-util/roctracer/roctracer-4.2.0-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) - -inherit cmake prefix python-any-r1 - -DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's" -HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git" -SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz - https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz" -S="${WORKDIR}/roctracer-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND="dev-libs/rocr-runtime:${SLOT} - dev-util/hip:${SLOT}" -DEPEND="dev-python/CppHeaderParser - dev-python/ply - ${RDEPEND} - ${PYTHON_DEPS}" - -src_prepare() { - mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die - - # do not build the tool and it´s library; - # change destination for headers to include/roctracer; - # do not install a second set of header files; - - sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \ - -e "/add_subdirectory ( \${TEST_DIR} \${PROJECT_BINARY_DIR}/d" \ - -e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \ - -e "/install ( FILES \${PROJECT_BINARY_DIR}/d" \ - -e "/DESTINATION/s,\${DEST_NAME}/lib64,$(get_libdir)/roctracer,g" \ - -i CMakeLists.txt || die - - # do not download additional sources via git - sed -e "/execute_process ( COMMAND sh -xc \"if/d" \ - -e "/add_subdirectory ( \${HSA_TEST_DIR} \${PROJECT_BINARY_DIR}/d" \ - -i test/CMakeLists.txt || die - - hprefixify script/*.py - - eapply_user - cmake_src_prepare -} - -src_configure() { - export HIP_PATH="${EPREFIX}/usr/lib/hip" - - local mycmakeargs=( - -DHIP_VDI=1 - -DCMAKE_PREFIX_PATH="${EPREFIX}/usr/include/hsa:${EPREFIX}/usr/lib" - ) - - cmake_src_configure -} diff --git a/dev-util/roctracer/roctracer-4.3.0-r3.ebuild b/dev-util/roctracer/roctracer-4.3.0-r3.ebuild deleted file mode 100644 index a62fc9da4ef7..000000000000 --- a/dev-util/roctracer/roctracer-4.3.0-r3.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,10} ) - -inherit cmake prefix python-any-r1 - -DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's" -HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git" -SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz - https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz - https://github.com/ROCmSoftwarePlatform/hsa-class/archive/f8b387043b9f510afdf2e72e38a011900360d6ab.tar.gz -> hsa-class-f8b3870.tar.gz" -S="${WORKDIR}/roctracer-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND="dev-libs/rocr-runtime:${SLOT} - dev-util/hip:${SLOT}" -DEPEND="${RDEPEND}" -BDEPEND=" - $(python_gen_any_dep ' - dev-python/CppHeaderParser[${PYTHON_USEDEP}] - dev-python/ply[${PYTHON_USEDEP}] - ') -" - -PATCHES=( - # https://github.com/ROCm-Developer-Tools/roctracer/pull/63 - "${FILESDIR}"/${PN}-4.3.0-glibc-2.34.patch - "${FILESDIR}"/${PN}-4.3.0-ldflag.patch - "${FILESDIR}"/${PN}-4.3.0-tracer_tool.patch - "${FILESDIR}"/${PN}-4.3.0-no-aqlprofile.patch -) - -python_check_deps() { - python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \ - "dev-python/ply[${PYTHON_USEDEP}]" -} - -src_prepare() { - mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die - mv "${WORKDIR}"/hsa-class-*/test/util "${S}"/inc/ || die - rm "${S}"/inc/util/hsa* || die - cp -a "${S}"/src/util/hsa* "${S}"/inc/util/ || die - - # do not build the tool and it´s library; - # change destination for headers to include/roctracer; - # do not install a second set of header files; - - sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \ - -e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \ - -e "/install ( FILES \${PROJECT_BINARY_DIR}\/so/d" \ - -e "/DESTINATION/s,\${DEST_NAME}/lib64,$(get_libdir),g" \ - -i CMakeLists.txt || die - - # do not download additional sources via git - sed -e "/execute_process ( COMMAND sh -xc \"if/d" \ - -e "/add_subdirectory ( \${HSA_TEST_DIR} \${PROJECT_BINARY_DIR}/d" \ - -e "/DESTINATION/s,\${DEST_NAME}/tool,$(get_libdir),g" \ - -i test/CMakeLists.txt || die - - hprefixify script/*.py - - cmake_src_prepare -} - -src_configure() { - export HIP_PATH="$(hipconfig -p)" - - local mycmakeargs=( - -DHIP_VDI=1 - -DCMAKE_PREFIX_PATH="${EPREFIX}/usr/include/hsa:${EPREFIX}/usr/lib" - ) - - cmake_src_configure -} |