From 1632a48d8a36534752a0aa1f54d3a04638b1a514 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 30 Jun 2017 13:43:08 +0159 Subject: dev-libs/amdgpu-pro-opencl: display "caveat emptor" warning after first installation. Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- .../amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dev-libs/amdgpu-pro-opencl') diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild index c75b64c1091f..6d8da00df440 100644 --- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild +++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild @@ -60,6 +60,16 @@ src_install() { } pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + ewarn "Please note that using proprietary OpenCL libraries together with the" + ewarn "Open Source amdgpu stack is not officially supported by AMD. Do not ask them" + ewarn "for support in case of problems with this package." + ewarn "" + ewarn "Furthermore, if you have the whole AMDGPU-Pro stack installed this package" + ewarn "will almost certainly conflict with it. This might change once AMDGPU-Pro" + ewarn "has become officially supported by Gentoo." + fi + elog "AMD OpenCL driver relies on dev-libs/ocl-icd to work. To enable it, please run" elog "" elog " eselect opencl set ocl-icd" -- cgit v1.2.3-65-gdbad