commit:     7af582c10f087c33dfb021fcd42cb9b37dde4c10
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 15:14:19 2019 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 15:14:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af582c1

dev-libs/amdgpu-pro-opencl: add deprecation/compatibility message

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild | 5 +++++
 dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild | 5 +++++
 2 files changed, 10 insertions(+)

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
index ffc46c93b61..eb1c7e963ec 100644
--- 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
@@ -75,5 +75,10 @@ pkg_postinst() {
                ewarn "has become officially supported by Gentoo."
        fi
 
+       elog ""
+       elog "This package is now DEPRECATED on amd64 in favour of 
dev-libs/rocm-opencl-runtime."
+       elog "Moreover, it only provides legacy AMDGPU-Pro OpenCL libraries 
which are not compatible with Vega 10 and newer GPUs."
+       elog ""
+
        "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
 }

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
index a7fc2f7c5bb..218485840c5 100644
--- 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
@@ -93,5 +93,10 @@ pkg_postinst() {
                ewarn "has become officially supported by Gentoo."
        fi
 
+       elog ""
+       elog "This package is now DEPRECATED on amd64 in favour of 
dev-libs/rocm-opencl-runtime."
+       elog "Moreover, it only provides legacy AMDGPU-Pro OpenCL libraries 
which are not compatible with Vega 10 and newer GPUs."
+       elog ""
+
        "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
 }

Reply via email to