Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
Date: Tue, 20 Aug 2019 15:14:56
Message-Id: 1566314082.7af582c10f087c33dfb021fcd42cb9b37dde4c10.marecki@gentoo
1 commit: 7af582c10f087c33dfb021fcd42cb9b37dde4c10
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 20 15:14:19 2019 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 20 15:14:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af582c1
7
8 dev-libs/amdgpu-pro-opencl: add deprecation/compatibility message
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
12
13 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild | 5 +++++
14 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild | 5 +++++
15 2 files changed, 10 insertions(+)
16
17 diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild
18 index ffc46c93b61..eb1c7e963ec 100644
19 --- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild
20 +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild
21 @@ -75,5 +75,10 @@ pkg_postinst() {
22 ewarn "has become officially supported by Gentoo."
23 fi
24
25 + elog ""
26 + elog "This package is now DEPRECATED on amd64 in favour of dev-libs/rocm-opencl-runtime."
27 + elog "Moreover, it only provides legacy AMDGPU-Pro OpenCL libraries which are not compatible with Vega 10 and newer GPUs."
28 + elog ""
29 +
30 "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
31 }
32
33 diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild
34 index a7fc2f7c5bb..218485840c5 100644
35 --- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild
36 +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild
37 @@ -93,5 +93,10 @@ pkg_postinst() {
38 ewarn "has become officially supported by Gentoo."
39 fi
40
41 + elog ""
42 + elog "This package is now DEPRECATED on amd64 in favour of dev-libs/rocm-opencl-runtime."
43 + elog "Moreover, it only provides legacy AMDGPU-Pro OpenCL libraries which are not compatible with Vega 10 and newer GPUs."
44 + elog ""
45 +
46 "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
47 }