dev-libs/hsa-amd-aqlprofile - 7.1.0 (pypi-sci)

Search

Install

Install this version:

emerge -a =dev-libs/hsa-amd-aqlprofile-7.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/hsa-amd-aqlprofile-7.1.0

Or alternatively:

emerge --autounmask-write -a =dev-libs/hsa-amd-aqlprofile-7.1.0

Package Information

Description:
AMD HSA AQL profiling library
Homepage:
https://github.com/ROCm/rocm-systems/tree/develop/projects/aqlprofile
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
7.1.0 8 ~amd64 0/$(ver_cut 1-2)
View Raw Ebuild
EAPI=8

inherit cmake

DESCRIPTION="AMD HSA AQL profiling library"
HOMEPAGE="https://github.com/ROCm/rocm-systems/tree/develop/projects/aqlprofile"
SRC_URI="https://github.com/ROCm/rocm-systems/archive/refs/tags/rocm-${PV}.tar.gz -> rocm-systems-${PV}.tar.gz"

LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~amd64"

S="${WORKDIR}/rocm-systems-rocm-${PV}/projects/aqlprofile"

DEPEND="
	dev-libs/rocr-runtime:${SLOT}
	>=dev-libs/rocm-core-${PV}:=
"
RDEPEND="${DEPEND}"

src_prepare() {
	cmake_src_prepare

	sed -e '/set(CMAKE_INSTALL_LIBDIR "lib"/d' \
		-i CMakeLists.txt || die
	sed -e '/^## If the library is a release/,/^endif ()/d' -i CMakeLists.txt || die
	sed -e '/^## Add the packaging directives/,$d' -i CMakeLists.txt || die
}

src_configure() {
	local mycmakeargs=(
		-DAQLPROFILE_BUILD_TESTS=OFF
		-DAQLPROFILE_INSTALL_TESTS=OFF
	)

	cmake_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/rocr-runtime:0/$(ver_cut 1-2)
	>=dev-libs/rocm-core-7.1.0:=

RDEPEND

	dev-libs/rocr-runtime:0/$(ver_cut 1-2)
	>=dev-libs/rocm-core-7.1.0:=

Manifest for 7.1.0

Type File Size Source URLs
DIST rocm-systems-7.1.0.tar.gz 42647317 bytes https://github.com/ROCm/rocm-systems/archive/refs/tags/rocm-7.1.0.tar.gz