dev-util/rocprofiler-register - 7.1.0 (pypi-sci)

Search

Install

Install this version:

emerge -a =dev-util/rocprofiler-register-7.1.0

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

autounmask =dev-util/rocprofiler-register-7.1.0

Or alternatively:

emerge --autounmask-write -a =dev-util/rocprofiler-register-7.1.0

Package Information

Description:
Registration library for ROCm profilers
Homepage:
https://github.com/ROCm/rocm-systems
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
7.1.0 8 ~amd64 0/0
View Raw Ebuild
EAPI=8

inherit cmake

DESCRIPTION="Registration library for ROCm profilers"
HOMEPAGE="https://github.com/ROCm/rocm-systems"

FMT_COMMIT="123913715afeb8a437e6388b4473fcc4753e1c9a"
GLOG_COMMIT="7b134a5c82c0c0b5698bb6bf7a835b230c5638e4"

SRC_URI="
	https://github.com/ROCm/rocm-systems/archive/refs/tags/rocm-${PV}.tar.gz -> rocm-systems-${PV}.tar.gz
	https://github.com/fmtlib/fmt/archive/${FMT_COMMIT}.tar.gz -> fmt-${FMT_COMMIT}.tar.gz
	https://github.com/google/glog/archive/${GLOG_COMMIT}.tar.gz -> glog-${GLOG_COMMIT}.tar.gz
"

LICENSE="MIT"
SLOT="0/0"
KEYWORDS="~amd64"

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

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

PATCHES=(
	"${FILESDIR}/${P}-disable-packaging.patch"
	"${FILESDIR}/${P}-respect-cmake-install-libdir.patch"
)

src_prepare() {
	rm -rf "${S}/external/fmt" "${S}/external/glog" || die
	ln -s "${WORKDIR}/fmt-${FMT_COMMIT}" "${S}/external/fmt" || die
	ln -s "${WORKDIR}/glog-${GLOG_COMMIT}" "${S}/external/glog" || die

	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DROCPROFILER_REGISTER_BUILD_FMT=ON
		-DROCPROFILER_REGISTER_BUILD_GLOG=ON
		-DROCPROFILER_REGISTER_BUILD_SAMPLES=OFF
		-DROCPROFILER_REGISTER_BUILD_TESTS=OFF
		-DROCM_DEP_ROCMCORE=ON
		-DROCPROFILER_REGISTER_DEP_ROCMCORE=ON
		-DROCPROFILER_REGISTER_BUILD_PACKAGING=OFF
	)

	cmake_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

	>=dev-libs/rocm-core-7.1.0:=

RDEPEND

	>=dev-libs/rocm-core-7.1.0:=

Manifest for 7.1.0

Type File Size Source URLs
DIST fmt-123913715afeb8a437e6388b4473fcc4753e1c9a.tar.gz 704027 bytes https://github.com/fmtlib/fmt/archive/123913715afeb8a437e6388b4473fcc4753e1c9a.tar.gz
DIST glog-7b134a5c82c0c0b5698bb6bf7a835b230c5638e4.tar.gz 182928 bytes https://github.com/google/glog/archive/7b134a5c82c0c0b5698bb6bf7a835b230c5638e4.tar.gz
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