diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
commit | f287ecad888abdeb38e617d0485de282cd6819db (patch) | |
tree | 874d56500040734c4dbb9e437e0d5ed80a0a1886 /dev-util/roctracer/roctracer-4.2.0-r1.ebuild | |
parent | 844ae757702c53a56ee57056873a8204d256d47e (diff) |
gentoo auto-resync : 19:12:2022 - 19:49:08
Diffstat (limited to 'dev-util/roctracer/roctracer-4.2.0-r1.ebuild')
-rw-r--r-- | dev-util/roctracer/roctracer-4.2.0-r1.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
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 -} |