Created attachment 443786 [details] hsa-runtime-amd-1.2.0.ebuild It would be nice to have a dev-libs/hsa-runtime-amd package in Gentoo. DESCRIPTION="Radeon Open Compute HSA Runtime" HOMEPAGE="http://gpuopen.com/professional-compute/rocm/" Ebuild: https://github.com/devurandom/gentoo-overlay/blob/master/dev-libs/hsa-runtime-amd/hsa-runtime-amd-1.2.0.ebuild Upstream packaging issues: * make install does not install headers: https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/14 - Mitigated in the ebuild by installing headers manually
Your ebuild has RDEPEND="=dev-libs/hsathk-${PV}". Should it be RDEPEND="=dev-libs/hsathk-amd-${PV}" instead?
Created attachment 443800 [details] hsa-runtime-amd-1.2.0.ebuild Thanks for spotting that. Fixed.
Created attachment 443802 [details] hsa-runtime-amd-1.2.0.ebuild Fixed include installation path and don't include internal headers