Diff rocm-opencl-runtime-5.5.1 with a rocm-opencl-runtime-9999
/usr/portage/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-9999.ebuild 2023-10-09 14:52:29.760368357 +0300 | ||
---|---|---|
14 | 14 |
inherit git-r3 |
15 | 15 |
S="${WORKDIR}/${P}" |
16 | 16 |
else |
17 |
KEYWORDS="~amd64" |
|
18 | 17 |
SRC_URI="https://github.com/ROCm-Developer-Tools/ROCclr/archive/rocm-${PV}.tar.gz -> rocclr-${PV}.tar.gz |
19 | 18 |
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-${PV}.tar.gz -> rocm-opencl-runtime-${PV}.tar.gz" |
20 | 19 |
S="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}" |
... | ... | |
30 | 29 |
>=dev-libs/rocm-device-libs-5.3 |
31 | 30 |
>=virtual/opencl-3 |
32 | 31 |
media-libs/mesa" |
33 |
DEPEND="${RDEPEND}" |
|
32 |
DEPEND="${RDEPEND} |
|
33 |
dev-util/opencl-headers" |
|
34 | 34 |
BDEPEND=">=dev-util/rocm-cmake-5.3 |
35 | 35 |
media-libs/glew |
36 | 36 |
test? ( >=x11-apps/mesa-progs-8.5.0[X] ) |
37 | 37 |
" |
38 | 38 | |
39 | 39 |
CLR_S="${WORKDIR}/ROCclr-rocm-${PV}" |
40 |
PATCHES=( "${FILESDIR}/${PN}-5.3.3-gcc13.patch" ) |
|
41 | 40 | |
42 | 41 |
src_unpack () { |
43 | 42 |
if [[ ${PV} == "9999" ]]; then |
... | ... | |
56 | 55 |
# Bug #753377 |
57 | 56 |
# patch re-enables accidentally disabled gfx800 family |
58 | 57 |
eapply "${FILESDIR}/${PN}-5.0.2-enable-gfx800.patch" |
59 |
eapply "${FILESDIR}/rocclr-5.3.3-gcc13.patch" |
|
60 | 58 |
popd || die |
61 | 59 |
} |
62 | 60 |