diff options
Diffstat (limited to 'dev-libs/rocr-runtime/rocr-runtime-9999.ebuild')
-rw-r--r-- | dev-libs/rocr-runtime/rocr-runtime-9999.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-libs/rocr-runtime/rocr-runtime-9999.ebuild b/dev-libs/rocr-runtime/rocr-runtime-9999.ebuild index a31193337a6d..6a89ca2901eb 100644 --- a/dev-libs/rocr-runtime/rocr-runtime-9999.ebuild +++ b/dev-libs/rocr-runtime/rocr-runtime-9999.ebuild @@ -20,10 +20,13 @@ HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime" LICENSE="MIT" SLOT="0/$(ver_cut 1-2)" +IUSE="nonfree" -RDEPEND="sys-process/numactl" -DEPEND="${RDEPEND} - dev-libs/roct-thunk-interface" +COMMON_DEPEND="sys-process/numactl" +RDEPEND="${COMMON_DEPEND} + nonfree? ( dev-libs/hsa-ext-rocr )" +DEPEND="${COMMON_DEPEND} + >=dev-libs/roct-thunk-interface-${PV}" src_prepare() { sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die |