summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2017-06-30 13:43:08 +0159
committerMarek Szuba <marecki@gentoo.org>2017-06-30 14:56:18 +0159
commit1632a48d8a36534752a0aa1f54d3a04638b1a514 (patch)
tree4aba3aeb31a370f9cee125086ee94c423d263d36 /dev-libs/amdgpu-pro-opencl
parentdev-ruby/connection_pool: keyword ~arm64 (diff)
downloadgentoo-1632a48d8a36534752a0aa1f54d3a04638b1a514.tar.gz
gentoo-1632a48d8a36534752a0aa1f54d3a04638b1a514.tar.bz2
gentoo-1632a48d8a36534752a0aa1f54d3a04638b1a514.zip
dev-libs/amdgpu-pro-opencl: display "caveat emptor" warning after first installation.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-libs/amdgpu-pro-opencl')
-rw-r--r--dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild10
1 files changed, 10 insertions, 0 deletions
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"