1 |
commit: 1632a48d8a36534752a0aa1f54d3a04638b1a514 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 30 11:44:08 2017 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 30 12:57:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1632a48d |
7 |
|
8 |
dev-libs/amdgpu-pro-opencl: display "caveat emptor" warning after first installation. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
.../amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild | 10 ++++++++++ |
13 |
1 file changed, 10 insertions(+) |
14 |
|
15 |
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 |
16 |
index c75b64c1091..6d8da00df44 100644 |
17 |
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild |
18 |
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild |
19 |
@@ -60,6 +60,16 @@ src_install() { |
20 |
} |
21 |
|
22 |
pkg_postinst() { |
23 |
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then |
24 |
+ ewarn "Please note that using proprietary OpenCL libraries together with the" |
25 |
+ ewarn "Open Source amdgpu stack is not officially supported by AMD. Do not ask them" |
26 |
+ ewarn "for support in case of problems with this package." |
27 |
+ ewarn "" |
28 |
+ ewarn "Furthermore, if you have the whole AMDGPU-Pro stack installed this package" |
29 |
+ ewarn "will almost certainly conflict with it. This might change once AMDGPU-Pro" |
30 |
+ ewarn "has become officially supported by Gentoo." |
31 |
+ fi |
32 |
+ |
33 |
elog "AMD OpenCL driver relies on dev-libs/ocl-icd to work. To enable it, please run" |
34 |
elog "" |
35 |
elog " eselect opencl set ocl-icd" |