* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-06-27 10:58 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-06-27 10:58 UTC (permalink / raw
To: gentoo-commits
commit: 777fd2b49b77f17662acc160bc734c51fd626cd7
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 10:52:24 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 10:57:47 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777fd2b4
dev-libs/amdgpu-pro-opencl: new package
Bits of AMDGPU-Pro providing OpenCL support. Work fine with the Open Source
amdgpu stack, the only catch is that one also needs the proprietary version of
libdrm_amdgpu which could conflict with the one from x11-libs/libdrm.
Fortunately, this can be easily worked around by hacking rpath of the OpenCL
library. Will hopefull integrate well with the rest of AMDGPU-Pro once it has
made it into the tree.
Please note that this driver works ONLY when loaded by dev-libs/ocl-icd;
there is no possibility for it to operate as an independent implementation.
For the time being this is a 64-bit only package. That said, although AMD
only supports AMDGPU-Pro on amd64 the driver pack does include 32-bit binaries
- so multilib support might be added later.
Inspired-By: Arch Linux opencl-amd AUR package
Package-Manager: Portage-2.3.6, Repoman-2.3.1
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-17.10.429170.ebuild | 67 ++++++++++++++++++++++
dev-libs/amdgpu-pro-opencl/metadata.xml | 14 +++++
3 files changed, 82 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
new file mode 100644
index 00000000000..728950f3c6a
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -0,0 +1 @@
+DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2
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
new file mode 100644
index 00000000000..c75b64c1091
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker versionator
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(replace_version_separator 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(get_version_component_range 1-2)
+ einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ local libdrm_ver="2.4.70"
+ local patchlevel=$(get_version_component_range 3)
+ cd "${S}" || die
+ unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
+ unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
+}
+
+src_prepare() {
+ default
+
+ cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
+ patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
+}
+
+src_install() {
+
+ into "/opt/${SUPER_PN}"
+ dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+pkg_postinst() {
+ elog "AMD OpenCL driver relies on dev-libs/ocl-icd to work. To enable it, please run"
+ elog ""
+ elog " eselect opencl set ocl-icd"
+ elog ""
+}
diff --git a/dev-libs/amdgpu-pro-opencl/metadata.xml b/dev-libs/amdgpu-pro-opencl/metadata.xml
new file mode 100644
index 00000000000..8c9e58cc4d2
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <longdescription lang="en">
+ This package contains the libraries necessary to enable OpenCL support
+ on AMD GPUs supported by the amdgpu driver. The libraries themselves
+ are part of the proprietary AMDGPU-Pro suite but work fine with the
+ free amdgpu driver stack.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-06-30 12:58 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-06-30 12:58 UTC (permalink / raw
To: gentoo-commits
commit: 1632a48d8a36534752a0aa1f54d3a04638b1a514
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 11:44:08 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 12:57:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1632a48d
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(+)
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 c75b64c1091..6d8da00df44 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"
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-08-02 19:46 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-08-02 19:46 UTC (permalink / raw
To: gentoo-commits
commit: 1f58f4a0d43c422105595eecca1ab7d926128960
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 2 19:44:50 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Aug 2 19:45:22 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f58f4a0
dev-libs/amdgpu-pro-opencl: bump to 17.30-458935
Package-Manager: Portage-2.3.6, Repoman-2.3.1
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-17.30.458935.ebuild | 77 ++++++++++++++++++++++
2 files changed, 78 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 728950f3c6a..9982e892fe7 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1 +1,2 @@
DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2
+DIST amdgpu-pro-17.30-458935.tar.xz 393634984 SHA256 3652a5c9476a650a3e3cd89bcd7ac119ed7d16a570501eeeea6a902cbc6f9488 SHA512 3f517ce13e102edb820f8f9538e0894c794d767816f99774fbfec342adb6912712664f069db2542412baabb24ee198204f38757407c29aff238ed1772dc3caab WHIRLPOOL 29a5b06657767255ace0529467ca56a904a021254f7dab854b1fd3ac843108ac346d3c4e97e10ef53844152de116581bff7c3aa8f4f066a08becb88e59918da3
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935.ebuild
new file mode 100644
index 00000000000..6d8da00df44
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker versionator
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(replace_version_separator 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(get_version_component_range 1-2)
+ einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ local libdrm_ver="2.4.70"
+ local patchlevel=$(get_version_component_range 3)
+ cd "${S}" || die
+ unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
+ unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
+}
+
+src_prepare() {
+ default
+
+ cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
+ patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
+}
+
+src_install() {
+
+ into "/opt/${SUPER_PN}"
+ dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+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"
+ elog ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-08-06 16:38 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-08-06 16:38 UTC (permalink / raw
To: gentoo-commits
commit: 8777aca51e5777ada27aac2f55253d6a3e805ac3
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 6 16:37:43 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Aug 6 16:38:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8777aca5
dev-libs/amdgpu-pro-opencl: remove incomplete revision of 17.30.458935
Package-Manager: Portage-2.3.6, Repoman-2.3.1
.../amdgpu-pro-opencl-17.30.458935.ebuild | 77 ----------------------
1 file changed, 77 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935.ebuild
deleted file mode 100644
index 6d8da00df44..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit unpacker versionator
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(replace_version_separator 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(get_version_component_range 1-2)
- einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
-}
-
-src_unpack() {
- default
-
- local libdrm_ver="2.4.70"
- local patchlevel=$(get_version_component_range 3)
- cd "${S}" || die
- unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
- unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
-}
-
-src_prepare() {
- default
-
- cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
- patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
-}
-
-src_install() {
-
- into "/opt/${SUPER_PN}"
- dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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"
- elog ""
-}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-08-06 16:38 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-08-06 16:38 UTC (permalink / raw
To: gentoo-commits
commit: 8ded910c42a3382278b213c2af0911bd0941e91a
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 6 16:36:21 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Aug 6 16:38:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ded910c
dev-libs/amdgpu-pro-opencl: add missing file to 17.30.458935
Package-Manager: Portage-2.3.6, Repoman-2.3.1
.../amdgpu-pro-opencl-17.30.458935-r1.ebuild | 81 ++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild
new file mode 100644
index 00000000000..971d4999df4
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker versionator
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(replace_version_separator 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(get_version_component_range 1-2)
+ einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local libdrm_ver="2.4.70"
+ local patchlevel=$(get_version_component_range 3)
+ cd "${S}" || die
+ unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
+ unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
+ unpack_deb ids-${SUPER_PN}_${ids_ver}-${patchlevel}_all.deb
+}
+
+src_prepare() {
+ default
+
+ cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
+ patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
+}
+
+src_install() {
+
+ into "/opt/${SUPER_PN}"
+ dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+ insinto "/opt/${SUPER_PN}"
+ doins -r opt/${SUPER_PN}/share
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+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"
+ elog ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-10-13 22:26 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-10-13 22:26 UTC (permalink / raw
To: gentoo-commits
commit: e80d644d932b9cce018e4ebd425d58a91f1bfa62
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 13 22:26:09 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Oct 13 22:26:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80d644d
dev-libs/amdgpu-pro-opencl: version bump to 17.30.465504
Gentoo-Bug: 631500
Package-Manager: Portage-2.3.8, Repoman-2.3.3
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-17.30.465504.ebuild | 81 ++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 9982e892fe7..8f837f29866 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,2 +1,3 @@
DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2
DIST amdgpu-pro-17.30-458935.tar.xz 393634984 SHA256 3652a5c9476a650a3e3cd89bcd7ac119ed7d16a570501eeeea6a902cbc6f9488 SHA512 3f517ce13e102edb820f8f9538e0894c794d767816f99774fbfec342adb6912712664f069db2542412baabb24ee198204f38757407c29aff238ed1772dc3caab WHIRLPOOL 29a5b06657767255ace0529467ca56a904a021254f7dab854b1fd3ac843108ac346d3c4e97e10ef53844152de116581bff7c3aa8f4f066a08becb88e59918da3
+DIST amdgpu-pro-17.30-465504.tar.xz 394216628 SHA256 b74494d142542164b5582e8bed845315f788aa3d9eb0c1ed5f2a6c5f982beaf5 SHA512 fa515d5397488ebd4271988f7b9b538190c4277a3c4dcaeb4b05f5cd5bdec657f13546de644b1a6825c88bd3b73e6c1a6aaa6b6c74e3cf942783b2df530cf4c7 WHIRLPOOL 3a1617cd8b8fd096614cf04b7e716b607ec718d122b286533d8dabc862c82b644ba864eb661b1d5e5da45c8fe674192d3f8038dbd85311d9ffc5c6f793f7d32b
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild
new file mode 100644
index 00000000000..971d4999df4
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker versionator
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(replace_version_separator 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(get_version_component_range 1-2)
+ einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local libdrm_ver="2.4.70"
+ local patchlevel=$(get_version_component_range 3)
+ cd "${S}" || die
+ unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
+ unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
+ unpack_deb ids-${SUPER_PN}_${ids_ver}-${patchlevel}_all.deb
+}
+
+src_prepare() {
+ default
+
+ cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
+ patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
+}
+
+src_install() {
+
+ into "/opt/${SUPER_PN}"
+ dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+ insinto "/opt/${SUPER_PN}"
+ doins -r opt/${SUPER_PN}/share
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+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"
+ elog ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-11-19 21:03 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-11-19 21:03 UTC (permalink / raw
To: gentoo-commits
commit: ce09459c7eb7b96558a5bf9068669c05d54ea1e3
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 21:02:12 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 21:03:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce09459c
dev-libs/amdgpu-pro-opencl: bump to 17.40.492261
Suggested-by: Vladyslav Brovko <brovushkin+gentoo <AT> gmail.com>
Gentoo-Bug: 635236
Closes: 6207
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-17.40.492261.ebuild | 81 ++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 8f837f29866..ee860d52142 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,3 +1,4 @@
DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2
DIST amdgpu-pro-17.30-458935.tar.xz 393634984 SHA256 3652a5c9476a650a3e3cd89bcd7ac119ed7d16a570501eeeea6a902cbc6f9488 SHA512 3f517ce13e102edb820f8f9538e0894c794d767816f99774fbfec342adb6912712664f069db2542412baabb24ee198204f38757407c29aff238ed1772dc3caab WHIRLPOOL 29a5b06657767255ace0529467ca56a904a021254f7dab854b1fd3ac843108ac346d3c4e97e10ef53844152de116581bff7c3aa8f4f066a08becb88e59918da3
DIST amdgpu-pro-17.30-465504.tar.xz 394216628 SHA256 b74494d142542164b5582e8bed845315f788aa3d9eb0c1ed5f2a6c5f982beaf5 SHA512 fa515d5397488ebd4271988f7b9b538190c4277a3c4dcaeb4b05f5cd5bdec657f13546de644b1a6825c88bd3b73e6c1a6aaa6b6c74e3cf942783b2df530cf4c7 WHIRLPOOL 3a1617cd8b8fd096614cf04b7e716b607ec718d122b286533d8dabc862c82b644ba864eb661b1d5e5da45c8fe674192d3f8038dbd85311d9ffc5c6f793f7d32b
+DIST amdgpu-pro-17.40-492261.tar.xz 361491288 SHA256 b0645157577c9ff175dc02487c4c682ded2624c8c2cfd6aa603960962e1d07b0 SHA512 b10d67f4fc7bfbf8f1de46e5202fabc3443e969759817d497449d911d4c591256cfdf73372013fdc67bd89c44ffe389c021c9f77ba27f55cbb5257af550bd148 WHIRLPOOL 61af42850786eb585442692437327e8a1baeb0dc905b6d84586f0a58e77e36e76c754334e5da3bbd25d813a73a9cd1303885a1267821a53bb6bb99b780108503
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild
new file mode 100644
index 00000000000..a7815bc7842
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker versionator
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(replace_version_separator 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(get_version_component_range 1-2)
+ einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local libdrm_ver="2.4.82"
+ local patchlevel=$(get_version_component_range 3)
+ cd "${S}" || die
+ unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
+ unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
+ unpack_deb ids-${SUPER_PN}_${ids_ver}-${patchlevel}_all.deb
+}
+
+src_prepare() {
+ default
+
+ cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
+ patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
+}
+
+src_install() {
+
+ into "/opt/${SUPER_PN}"
+ dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+ insinto "/opt/${SUPER_PN}"
+ doins -r opt/${SUPER_PN}/share
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+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"
+ elog ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-11-20 15:32 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-11-20 15:32 UTC (permalink / raw
To: gentoo-commits
commit: 92b0152f97feebd04fc458f709a9a839e7cf551c
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 15:31:56 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 15:31:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b0152f
dev-libs/amdgpu-pro-opencl: remove unnecessary empty line
Cosmetic, no functional change.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild | 1 -
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild | 1 -
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild | 1 -
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild | 1 -
4 files changed, 4 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 6d8da00df44..1b985ee16fa 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
@@ -50,7 +50,6 @@ src_prepare() {
}
src_install() {
-
into "/opt/${SUPER_PN}"
dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild
index 971d4999df4..93c286d0974 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild
@@ -52,7 +52,6 @@ src_prepare() {
}
src_install() {
-
into "/opt/${SUPER_PN}"
dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
insinto "/opt/${SUPER_PN}"
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild
index 971d4999df4..93c286d0974 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild
@@ -52,7 +52,6 @@ src_prepare() {
}
src_install() {
-
into "/opt/${SUPER_PN}"
dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
insinto "/opt/${SUPER_PN}"
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild
index a7815bc7842..88731bbbc21 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild
@@ -52,7 +52,6 @@ src_prepare() {
}
src_install() {
-
into "/opt/${SUPER_PN}"
dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
insinto "/opt/${SUPER_PN}"
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-11-21 11:00 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-11-21 11:00 UTC (permalink / raw
To: gentoo-commits
commit: 015d3afbbaed5832de54c8a947de1a1cd6b8c336
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 11:00:29 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 11:00:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015d3afb
dev-libs/amdgpu-pro-opencl: add proxied co-maintainer.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/amdgpu-pro-opencl/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/metadata.xml b/dev-libs/amdgpu-pro-opencl/metadata.xml
index 8c9e58cc4d2..1a1bba3f0d9 100644
--- a/dev-libs/amdgpu-pro-opencl/metadata.xml
+++ b/dev-libs/amdgpu-pro-opencl/metadata.xml
@@ -2,6 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
+ <email>brovushkin+gentoo@gmail.com</email>
+ <name>Vladyslav Brovko</name>
+ </maintainer>
+ <maintainer type="person">
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-12-11 0:55 Ulrich Müller
0 siblings, 0 replies; 37+ messages in thread
From: Ulrich Müller @ 2017-12-11 0:55 UTC (permalink / raw
To: gentoo-commits
commit: 6e44bd491b7979ce2972c9f8aa0c591b0b7a78cb
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 11 00:53:42 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 00:55:04 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e44bd49
dev-libs/amdgpu-pro-opencl: Partially update Manifest hashes.
Only the newest version appears to be available upstream.
dev-libs/amdgpu-pro-opencl/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index ee860d52142..431cb046412 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,4 +1,4 @@
DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2
DIST amdgpu-pro-17.30-458935.tar.xz 393634984 SHA256 3652a5c9476a650a3e3cd89bcd7ac119ed7d16a570501eeeea6a902cbc6f9488 SHA512 3f517ce13e102edb820f8f9538e0894c794d767816f99774fbfec342adb6912712664f069db2542412baabb24ee198204f38757407c29aff238ed1772dc3caab WHIRLPOOL 29a5b06657767255ace0529467ca56a904a021254f7dab854b1fd3ac843108ac346d3c4e97e10ef53844152de116581bff7c3aa8f4f066a08becb88e59918da3
DIST amdgpu-pro-17.30-465504.tar.xz 394216628 SHA256 b74494d142542164b5582e8bed845315f788aa3d9eb0c1ed5f2a6c5f982beaf5 SHA512 fa515d5397488ebd4271988f7b9b538190c4277a3c4dcaeb4b05f5cd5bdec657f13546de644b1a6825c88bd3b73e6c1a6aaa6b6c74e3cf942783b2df530cf4c7 WHIRLPOOL 3a1617cd8b8fd096614cf04b7e716b607ec718d122b286533d8dabc862c82b644ba864eb661b1d5e5da45c8fe674192d3f8038dbd85311d9ffc5c6f793f7d32b
-DIST amdgpu-pro-17.40-492261.tar.xz 361491288 SHA256 b0645157577c9ff175dc02487c4c682ded2624c8c2cfd6aa603960962e1d07b0 SHA512 b10d67f4fc7bfbf8f1de46e5202fabc3443e969759817d497449d911d4c591256cfdf73372013fdc67bd89c44ffe389c021c9f77ba27f55cbb5257af550bd148 WHIRLPOOL 61af42850786eb585442692437327e8a1baeb0dc905b6d84586f0a58e77e36e76c754334e5da3bbd25d813a73a9cd1303885a1267821a53bb6bb99b780108503
+DIST amdgpu-pro-17.40-492261.tar.xz 361491288 BLAKE2B 72093e803ad163724d9708dab0085d18a6dfd994588005b7a49da6e0e94a892ac479c87cafb7a9c848996d1db0860ae591d1cced2137ca71be4966705d5413b3 SHA512 b10d67f4fc7bfbf8f1de46e5202fabc3443e969759817d497449d911d4c591256cfdf73372013fdc67bd89c44ffe389c021c9f77ba27f55cbb5257af550bd148
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-12-16 9:44 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-12-16 9:44 UTC (permalink / raw
To: gentoo-commits
commit: e0d8bc0833b6b8003c11612ca1328fddd58277a5
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 17:35:47 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 09:43:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d8bc08
dev-libs/amdgpu-pro-opencl: 17.50.511655 version bump
Closes: 6534
Gentoo-Bug: https://bugs.gentoo.org/640828
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/Manifest | 3 +-
.../amdgpu-pro-opencl-17.50.511655.ebuild | 81 ++++++++++++++++++++++
2 files changed, 83 insertions(+), 1 deletion(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 431cb046412..9f42724fa02 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,4 +1,5 @@
DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2
DIST amdgpu-pro-17.30-458935.tar.xz 393634984 SHA256 3652a5c9476a650a3e3cd89bcd7ac119ed7d16a570501eeeea6a902cbc6f9488 SHA512 3f517ce13e102edb820f8f9538e0894c794d767816f99774fbfec342adb6912712664f069db2542412baabb24ee198204f38757407c29aff238ed1772dc3caab WHIRLPOOL 29a5b06657767255ace0529467ca56a904a021254f7dab854b1fd3ac843108ac346d3c4e97e10ef53844152de116581bff7c3aa8f4f066a08becb88e59918da3
-DIST amdgpu-pro-17.30-465504.tar.xz 394216628 SHA256 b74494d142542164b5582e8bed845315f788aa3d9eb0c1ed5f2a6c5f982beaf5 SHA512 fa515d5397488ebd4271988f7b9b538190c4277a3c4dcaeb4b05f5cd5bdec657f13546de644b1a6825c88bd3b73e6c1a6aaa6b6c74e3cf942783b2df530cf4c7 WHIRLPOOL 3a1617cd8b8fd096614cf04b7e716b607ec718d122b286533d8dabc862c82b644ba864eb661b1d5e5da45c8fe674192d3f8038dbd85311d9ffc5c6f793f7d32b
+DIST amdgpu-pro-17.30-465504.tar.xz 394216628 BLAKE2B f38969bd2fd55172a9bc64bc5c839339258eba63f4592364de4e87a6b78ebd217c17d72ff3e557cd7183299d4dc8e398c93124badd30a71c3fbd4c49d6ed42fe SHA512 fa515d5397488ebd4271988f7b9b538190c4277a3c4dcaeb4b05f5cd5bdec657f13546de644b1a6825c88bd3b73e6c1a6aaa6b6c74e3cf942783b2df530cf4c7
DIST amdgpu-pro-17.40-492261.tar.xz 361491288 BLAKE2B 72093e803ad163724d9708dab0085d18a6dfd994588005b7a49da6e0e94a892ac479c87cafb7a9c848996d1db0860ae591d1cced2137ca71be4966705d5413b3 SHA512 b10d67f4fc7bfbf8f1de46e5202fabc3443e969759817d497449d911d4c591256cfdf73372013fdc67bd89c44ffe389c021c9f77ba27f55cbb5257af550bd148
+DIST amdgpu-pro-17.50-511655.tar.xz 547875548 BLAKE2B c3e396d9846ca15297ecbfd8ff1c9ca3aae6352080f280dc13f2ad4d32da7b84a6d069fd4b64c6e4d9814459cc5cca1ab838295a83ede953a9df6cdcd1387f91 SHA512 d4d995eb596f94656d2fb6e43a2db29bcbfe28e09f75e19e23d1d446de899dbb6e4597ef833955a8b1788055fa848bc14e45a32c820ed8e97c667a784cf816cc
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
new file mode 100644
index 00000000000..a8eb4c59e2a
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker versionator
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(replace_version_separator 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(get_version_component_range 1-2)
+ einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local libdrm_ver="2.4.82"
+ local patchlevel=$(get_version_component_range 3)
+ cd "${S}" || die
+ unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
+ unpack_deb libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
+ unpack_deb ids-amdgpu_${ids_ver}-${patchlevel}_all.deb
+}
+
+src_prepare() {
+ default
+
+ cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
+ patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
+}
+
+src_install() {
+ into "/opt/amdgpu"
+ dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+ dolib opt/amdgpu/lib/x86_64-linux-gnu/*
+ insinto "/opt/amdgpu"
+ doins -r opt/amdgpu/share
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+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"
+ elog ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2017-12-16 10:03 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2017-12-16 10:03 UTC (permalink / raw
To: gentoo-commits
commit: fe5fe57958829fb751a45e7fbcfe4d690b3df6bd
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 10:02:46 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 10:02:46 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe5fe579
dev-libs/amdgpu-pro-opencl: remove some old versions
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/amdgpu-pro-opencl/Manifest | 3 -
.../amdgpu-pro-opencl-17.10.429170.ebuild | 76 --------------------
.../amdgpu-pro-opencl-17.30.458935-r1.ebuild | 80 ----------------------
.../amdgpu-pro-opencl-17.30.465504.ebuild | 80 ----------------------
4 files changed, 239 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 9f42724fa02..8c87f4378ed 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,5 +1,2 @@
-DIST amdgpu-pro-17.10-429170.tar.xz 121382128 SHA256 cb1ea7f9756f197a976138d2c00f239ae4ee43b839fbb1ea57f8770957d4afd6 SHA512 2d9d0a97478564e259dc8494083df8dc13e3bc664384978aff369070b1105703653d8dc4dca38e94dc8bdf3ddfb5c6f4de39cec5a9b263423de8fb91fd0117c6 WHIRLPOOL 1e07579d2c9d5d8a796973658cbb6627418b133a630ca5e977f93da0d27b900da2078d2ea8b35a13071b0b05e3d5e7f47e17d61042dcca60709f6599c18380a2
-DIST amdgpu-pro-17.30-458935.tar.xz 393634984 SHA256 3652a5c9476a650a3e3cd89bcd7ac119ed7d16a570501eeeea6a902cbc6f9488 SHA512 3f517ce13e102edb820f8f9538e0894c794d767816f99774fbfec342adb6912712664f069db2542412baabb24ee198204f38757407c29aff238ed1772dc3caab WHIRLPOOL 29a5b06657767255ace0529467ca56a904a021254f7dab854b1fd3ac843108ac346d3c4e97e10ef53844152de116581bff7c3aa8f4f066a08becb88e59918da3
-DIST amdgpu-pro-17.30-465504.tar.xz 394216628 BLAKE2B f38969bd2fd55172a9bc64bc5c839339258eba63f4592364de4e87a6b78ebd217c17d72ff3e557cd7183299d4dc8e398c93124badd30a71c3fbd4c49d6ed42fe SHA512 fa515d5397488ebd4271988f7b9b538190c4277a3c4dcaeb4b05f5cd5bdec657f13546de644b1a6825c88bd3b73e6c1a6aaa6b6c74e3cf942783b2df530cf4c7
DIST amdgpu-pro-17.40-492261.tar.xz 361491288 BLAKE2B 72093e803ad163724d9708dab0085d18a6dfd994588005b7a49da6e0e94a892ac479c87cafb7a9c848996d1db0860ae591d1cced2137ca71be4966705d5413b3 SHA512 b10d67f4fc7bfbf8f1de46e5202fabc3443e969759817d497449d911d4c591256cfdf73372013fdc67bd89c44ffe389c021c9f77ba27f55cbb5257af550bd148
DIST amdgpu-pro-17.50-511655.tar.xz 547875548 BLAKE2B c3e396d9846ca15297ecbfd8ff1c9ca3aae6352080f280dc13f2ad4d32da7b84a6d069fd4b64c6e4d9814459cc5cca1ab838295a83ede953a9df6cdcd1387f91 SHA512 d4d995eb596f94656d2fb6e43a2db29bcbfe28e09f75e19e23d1d446de899dbb6e4597ef833955a8b1788055fa848bc14e45a32c820ed8e97c667a784cf816cc
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
deleted file mode 100644
index 1b985ee16fa..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.10.429170.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit unpacker versionator
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(replace_version_separator 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(get_version_component_range 1-2)
- einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
-}
-
-src_unpack() {
- default
-
- local libdrm_ver="2.4.70"
- local patchlevel=$(get_version_component_range 3)
- cd "${S}" || die
- unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
- unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
-}
-
-src_prepare() {
- default
-
- cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
- patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
-}
-
-src_install() {
- into "/opt/${SUPER_PN}"
- dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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"
- elog ""
-}
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild
deleted file mode 100644
index 93c286d0974..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.458935-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit unpacker versionator
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(replace_version_separator 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(get_version_component_range 1-2)
- einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local libdrm_ver="2.4.70"
- local patchlevel=$(get_version_component_range 3)
- cd "${S}" || die
- unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
- unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
- unpack_deb ids-${SUPER_PN}_${ids_ver}-${patchlevel}_all.deb
-}
-
-src_prepare() {
- default
-
- cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
- patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
-}
-
-src_install() {
- into "/opt/${SUPER_PN}"
- dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
- insinto "/opt/${SUPER_PN}"
- doins -r opt/${SUPER_PN}/share
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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"
- elog ""
-}
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild
deleted file mode 100644
index 93c286d0974..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.30.465504.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit unpacker versionator
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(replace_version_separator 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(get_version_component_range 1-2)
- einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local libdrm_ver="2.4.70"
- local patchlevel=$(get_version_component_range 3)
- cd "${S}" || die
- unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
- unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
- unpack_deb ids-${SUPER_PN}_${ids_ver}-${patchlevel}_all.deb
-}
-
-src_prepare() {
- default
-
- cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
- patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
-}
-
-src_install() {
- into "/opt/${SUPER_PN}"
- dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
- insinto "/opt/${SUPER_PN}"
- doins -r opt/${SUPER_PN}/share
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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"
- elog ""
-}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-05-25 10:04 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-05-25 10:04 UTC (permalink / raw
To: gentoo-commits
commit: 34e776303f57612d1f55ca8407c806237fc87b03
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri May 25 09:50:16 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri May 25 09:50:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e77630
dev-libs/amdgpu-pro-opencl: remove old
Package-Manager: Portage-2.3.39, Repoman-2.3.9
dev-libs/amdgpu-pro-opencl/Manifest | 1 -
.../amdgpu-pro-opencl-17.40.492261.ebuild | 80 ----------------------
2 files changed, 81 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 8c87f4378ed..df04d9e18ff 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,2 +1 @@
-DIST amdgpu-pro-17.40-492261.tar.xz 361491288 BLAKE2B 72093e803ad163724d9708dab0085d18a6dfd994588005b7a49da6e0e94a892ac479c87cafb7a9c848996d1db0860ae591d1cced2137ca71be4966705d5413b3 SHA512 b10d67f4fc7bfbf8f1de46e5202fabc3443e969759817d497449d911d4c591256cfdf73372013fdc67bd89c44ffe389c021c9f77ba27f55cbb5257af550bd148
DIST amdgpu-pro-17.50-511655.tar.xz 547875548 BLAKE2B c3e396d9846ca15297ecbfd8ff1c9ca3aae6352080f280dc13f2ad4d32da7b84a6d069fd4b64c6e4d9814459cc5cca1ab838295a83ede953a9df6cdcd1387f91 SHA512 d4d995eb596f94656d2fb6e43a2db29bcbfe28e09f75e19e23d1d446de899dbb6e4597ef833955a8b1788055fa848bc14e45a32c820ed8e97c667a784cf816cc
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild
deleted file mode 100644
index 88731bbbc21..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.40.492261.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit unpacker versionator
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(replace_version_separator 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(get_version_component_range 1-2)
- einfo "Please download the AMDGPU-Pro Driver ${pkgver} for Ubuntu from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local libdrm_ver="2.4.82"
- local patchlevel=$(get_version_component_range 3)
- cd "${S}" || die
- unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
- unpack_deb libdrm-${SUPER_PN}-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
- unpack_deb ids-${SUPER_PN}_${ids_ver}-${patchlevel}_all.deb
-}
-
-src_prepare() {
- default
-
- cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
- patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
-}
-
-src_install() {
- into "/opt/${SUPER_PN}"
- dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
- insinto "/opt/${SUPER_PN}"
- doins -r opt/${SUPER_PN}/share
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/${SUPER_PN}/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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"
- elog ""
-}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-05-25 10:04 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-05-25 10:04 UTC (permalink / raw
To: gentoo-commits
commit: 9a3e66ab55e6e95b6c8cc775ea8ee94f3517f623
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri May 25 09:55:15 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri May 25 09:55:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3e66ab
dev-libs/amdgpu-pro-opencl: switch from versionator to eapi7-ver
Package-Manager: Portage-2.3.39, Repoman-2.3.9
.../amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
index a8eb4c59e2a..e822eb2d141 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit unpacker versionator
+inherit unpacker eapi7-ver
SUPER_PN='amdgpu-pro'
-MY_PV=$(replace_version_separator 2 '-')
+MY_PV=$(ver_rs 2 '-')
DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx"
@@ -26,7 +26,7 @@ QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
pkg_nofetch() {
- local pkgver=$(get_version_component_range 1-2)
+ local pkgver=$(ver_cut 1-2)
einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu from"
einfo " ${HOMEPAGE}"
einfo "The archive should then be placed into ${DISTDIR}."
@@ -37,7 +37,7 @@ src_unpack() {
local ids_ver="1.0.0"
local libdrm_ver="2.4.82"
- local patchlevel=$(get_version_component_range 3)
+ local patchlevel=$(ver_cut 3)
cd "${S}" || die
unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
unpack_deb libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-06-20 10:10 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-06-20 10:10 UTC (permalink / raw
To: gentoo-commits
commit: 9f1d70e327770537487df68c6713e0a1cd9ba5ec
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 10:09:41 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 10:09:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f1d70e3
dev-libs/amdgpu-pro-opencl: bump to EAPI 7
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
index e822eb2d141..19744b81c4c 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit unpacker eapi7-ver
+inherit unpacker
SUPER_PN='amdgpu-pro'
MY_PV=$(ver_rs 2 '-')
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-06-26 19:47 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-06-26 19:47 UTC (permalink / raw
To: gentoo-commits
commit: 546de21b62af2af0b42f2ad0f236442d00ad8761
Author: Vladyslav Brovko <brovushkin+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Jun 24 13:49:05 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jun 26 19:46:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546de21b
dev-libs/amdgpu-pro-opencl: 18.20.606296 version bump
Closes: https://bugs.gentoo.org/656568
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Revised-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-18.20.606296.ebuild | 66 ++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index df04d9e18ff..76477531154 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1 +1,2 @@
DIST amdgpu-pro-17.50-511655.tar.xz 547875548 BLAKE2B c3e396d9846ca15297ecbfd8ff1c9ca3aae6352080f280dc13f2ad4d32da7b84a6d069fd4b64c6e4d9814459cc5cca1ab838295a83ede953a9df6cdcd1387f91 SHA512 d4d995eb596f94656d2fb6e43a2db29bcbfe28e09f75e19e23d1d446de899dbb6e4597ef833955a8b1788055fa848bc14e45a32c820ed8e97c667a784cf816cc
+DIST amdgpu-pro-18.20-606296.tar.xz 230733856 BLAKE2B 21a498a894a9712d9f0277fae7f704413be0cd01cebbe427008fa3d181d03b58268e74bd3cdaf0dfb9aeca2871dad82b4aa640bbce690ca461e3f3e4acf01ffd SHA512 6575bf963e5714657914d9116de4d9b1835851fe0609b1f072b1fbdf73c068da77aba0eca1c9cce6e05e6cd8f2c1ed6b4bd6ab4ef334be5ff796ee6a3ad73831
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
new file mode 100644
index 00000000000..614f397a1b7
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit unpacker
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(ver_rs 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND=""
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(ver_cut 1-2)
+ einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu 16 from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ cd "${S}" || die
+ unpack_deb opencl-orca-amdgpu-pro-icd_${MY_PV}_amd64.deb
+}
+
+src_install() {
+ into "/opt/amdgpu"
+ dolib.so opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+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"
+ elog ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-07-09 14:04 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-07-09 14:04 UTC (permalink / raw
To: gentoo-commits
commit: 87ce9d966bb0273276a4d46ee3252031ae9c30f8
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 9 14:03:54 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 9 14:04:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ce9d96
dev-libs/amdgpu-pro-opencl: remove old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-libs/amdgpu-pro-opencl/Manifest | 1 -
.../amdgpu-pro-opencl-17.50.511655.ebuild | 81 ----------------------
2 files changed, 82 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 135057b8765..05d329a3558 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,3 +1,2 @@
-DIST amdgpu-pro-17.50-511655.tar.xz 547875548 BLAKE2B c3e396d9846ca15297ecbfd8ff1c9ca3aae6352080f280dc13f2ad4d32da7b84a6d069fd4b64c6e4d9814459cc5cca1ab838295a83ede953a9df6cdcd1387f91 SHA512 d4d995eb596f94656d2fb6e43a2db29bcbfe28e09f75e19e23d1d446de899dbb6e4597ef833955a8b1788055fa848bc14e45a32c820ed8e97c667a784cf816cc
DIST amdgpu-pro-17.50-552542.tar.xz 549501204 BLAKE2B 37dcda126a3bda4e87b64ce260c7e4b65a1b864363c51f06e3152f152b83a60074331e6a0bf7b831c059a50192dea8add9b38ed16971c87293ce0e56ddf26bb2 SHA512 060e96609cf1a013fddf10db9bba4b512750e5188671a669e2582c28a03213b40d073031e35a617b982374d9d1cd4078f43b27053ee34be7c83873c0814ed196
DIST amdgpu-pro-18.20-606296.tar.xz 230733856 BLAKE2B 21a498a894a9712d9f0277fae7f704413be0cd01cebbe427008fa3d181d03b58268e74bd3cdaf0dfb9aeca2871dad82b4aa640bbce690ca461e3f3e4acf01ffd SHA512 6575bf963e5714657914d9116de4d9b1835851fe0609b1f072b1fbdf73c068da77aba0eca1c9cce6e05e6cd8f2c1ed6b4bd6ab4ef334be5ff796ee6a3ad73831
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
deleted file mode 100644
index 19744b81c4c..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.511655.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit unpacker
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(ver_rs 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(ver_cut 1-2)
- einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local libdrm_ver="2.4.82"
- local patchlevel=$(ver_cut 3)
- cd "${S}" || die
- unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
- unpack_deb libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
- unpack_deb ids-amdgpu_${ids_ver}-${patchlevel}_all.deb
-}
-
-src_prepare() {
- default
-
- cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
- patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
-}
-
-src_install() {
- into "/opt/amdgpu"
- dolib opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
- dolib opt/amdgpu/lib/x86_64-linux-gnu/*
- insinto "/opt/amdgpu"
- doins -r opt/amdgpu/share
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/amdgpu/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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"
- elog ""
-}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-07-09 14:04 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-07-09 14:04 UTC (permalink / raw
To: gentoo-commits
commit: dbc198b5b76f85efaa6f691a52de8128b6f44554
Author: Vladyslav Brovko <brovushkin+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Jul 8 10:06:11 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 9 14:04:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc198b5
dev-libs/amdgpu-pro-opencl: version bump 17.50-552542
New build, new HOMEPAGE, fixes incomplete conversion to EAPI 7.
Closes: https://bugs.gentoo.org/659676
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-17.50.552542.ebuild | 81 ++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 76477531154..135057b8765 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,2 +1,3 @@
DIST amdgpu-pro-17.50-511655.tar.xz 547875548 BLAKE2B c3e396d9846ca15297ecbfd8ff1c9ca3aae6352080f280dc13f2ad4d32da7b84a6d069fd4b64c6e4d9814459cc5cca1ab838295a83ede953a9df6cdcd1387f91 SHA512 d4d995eb596f94656d2fb6e43a2db29bcbfe28e09f75e19e23d1d446de899dbb6e4597ef833955a8b1788055fa848bc14e45a32c820ed8e97c667a784cf816cc
+DIST amdgpu-pro-17.50-552542.tar.xz 549501204 BLAKE2B 37dcda126a3bda4e87b64ce260c7e4b65a1b864363c51f06e3152f152b83a60074331e6a0bf7b831c059a50192dea8add9b38ed16971c87293ce0e56ddf26bb2 SHA512 060e96609cf1a013fddf10db9bba4b512750e5188671a669e2582c28a03213b40d073031e35a617b982374d9d1cd4078f43b27053ee34be7c83873c0814ed196
DIST amdgpu-pro-18.20-606296.tar.xz 230733856 BLAKE2B 21a498a894a9712d9f0277fae7f704413be0cd01cebbe427008fa3d181d03b58268e74bd3cdaf0dfb9aeca2871dad82b4aa640bbce690ca461e3f3e4acf01ffd SHA512 6575bf963e5714657914d9116de4d9b1835851fe0609b1f072b1fbdf73c068da77aba0eca1c9cce6e05e6cd8f2c1ed6b4bd6ab4ef334be5ff796ee6a3ad73831
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
new file mode 100644
index 00000000000..19adb74c35b
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit unpacker
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(ver_rs 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-with-Vulkan-1.1-support.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="mirror fetch strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="dev-libs/ocl-icd"
+
+QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
+
+pkg_nofetch() {
+ local pkgver=$(ver_cut 1-2)
+ einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local libdrm_ver="2.4.82"
+ local patchlevel=$(ver_cut 3)
+ cd "${S}" || die
+ unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
+ unpack_deb libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
+ unpack_deb ids-amdgpu_${ids_ver}-${patchlevel}_all.deb
+}
+
+src_prepare() {
+ default
+
+ cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
+ patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
+}
+
+src_install() {
+ into "/opt/amdgpu"
+ dolib.so opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
+ dolib.so opt/amdgpu/lib/x86_64-linux-gnu/*
+ insinto "/opt/amdgpu"
+ doins -r opt/amdgpu/share
+
+ insinto /etc/OpenCL/vendors/
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
+ doins "${SUPER_PN}.icd"
+}
+
+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"
+ elog ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-08-31 13:44 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-08-31 13:44 UTC (permalink / raw
To: gentoo-commits
commit: 05fcacfa020c30287618b250f1a5300fcf26d782
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 31 13:43:16 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Aug 31 13:43:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05fcacfa
dev-libs/amdgpu-pro-opencl: do not use DISTDIR in pkg_nofetch()
Under recent versions of portage DISTDIR points to a temporary directory
in PORTAGE_TMPDIR rather than /usr/portage/distfiles. Follow the example
of recent versions of dev-java/oracle-jre-bin and just say "your
distfiles directory" instead.
Closes: https://bugs.gentoo.org/663878
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild | 2 +-
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
index 19adb74c35b..fd883261984 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
@@ -29,7 +29,7 @@ pkg_nofetch() {
local pkgver=$(ver_cut 1-2)
einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu from"
einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
+ einfo "The archive should then be placed in your distfiles directory."
}
src_unpack() {
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
index 614f397a1b7..241e495069a 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
@@ -29,7 +29,7 @@ pkg_nofetch() {
local pkgver=$(ver_cut 1-2)
einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu 16 from"
einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into ${DISTDIR}."
+ einfo "The archive should then be placed in your distfiles directory."
}
src_unpack() {
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-09-27 9:49 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-09-27 9:49 UTC (permalink / raw
To: gentoo-commits
commit: 97e510e65b2aded95672ac055830d47603690b2f
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 27 09:49:28 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Sep 27 09:49:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e510e6
dev-libs/amdgpu-pro-opencl: automate invoking "eselect opencl"
Instead of telling the user in pkg_postinst() to run it, just run it
there outselves - with --use-old to honour possible earlier choices.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
.../amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild | 12 ++++++------
.../amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild | 11 +++++------
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
index fd883261984..b9f388b4b18 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
@@ -18,8 +18,11 @@ KEYWORDS="~amd64"
RESTRICT="mirror fetch strip"
-DEPEND="dev-util/patchelf"
-RDEPEND="dev-libs/ocl-icd"
+COMMON="app-eselect/eselect-opencl
+ dev-libs/ocl-icd"
+DEPEND="${COMMON}
+ dev-util/patchelf"
+RDEPEND="${COMMON}"
QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
@@ -74,8 +77,5 @@ pkg_postinst() {
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"
- elog ""
+ "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
}
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
index 241e495069a..03574c8b01e 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
@@ -18,8 +18,10 @@ KEYWORDS="~amd64"
RESTRICT="mirror fetch strip"
-DEPEND=""
-RDEPEND="dev-libs/ocl-icd"
+COMMON="app-eselect/eselect-opencl
+ dev-libs/ocl-icd"
+DEPEND="${COMMON}"
+RDEPEND="${COMMON}"
QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
@@ -59,8 +61,5 @@ pkg_postinst() {
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"
- elog ""
+ "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2018-11-09 8:45 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2018-11-09 8:45 UTC (permalink / raw
To: gentoo-commits
commit: 47bcc38a551c426b456d0ba5aafd57ae3e6da6dd
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 9 08:45:12 2018 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Nov 9 08:45:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47bcc38a
dev-libs/amdgpu-pro-opencl: updated list of maintainers
Vladyslav Brovko has resigned.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-libs/amdgpu-pro-opencl/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/metadata.xml b/dev-libs/amdgpu-pro-opencl/metadata.xml
index 1a1bba3f0d9..8c9e58cc4d2 100644
--- a/dev-libs/amdgpu-pro-opencl/metadata.xml
+++ b/dev-libs/amdgpu-pro-opencl/metadata.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>brovushkin+gentoo@gmail.com</email>
- <name>Vladyslav Brovko</name>
- </maintainer>
<maintainer type="person">
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-01-15 9:52 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-01-15 9:52 UTC (permalink / raw
To: gentoo-commits
commit: bfe3cef0c493e9d6eec56affc118385201210923
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 15 09:47:52 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jan 15 09:52:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfe3cef0
dev-libs/amdgpu-pro-opencl: bump to 18.20.684755, enable multilib
Multilib support kindly provided by Georgy Yakovlev
<gyakovlev <AT> gentoo.org>.
Closes: https://github.com/gentoo/gentoo/pull/9113
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-18.20.684755.ebuild | 79 ++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 05d329a3558..83337405581 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,2 +1,3 @@
DIST amdgpu-pro-17.50-552542.tar.xz 549501204 BLAKE2B 37dcda126a3bda4e87b64ce260c7e4b65a1b864363c51f06e3152f152b83a60074331e6a0bf7b831c059a50192dea8add9b38ed16971c87293ce0e56ddf26bb2 SHA512 060e96609cf1a013fddf10db9bba4b512750e5188671a669e2582c28a03213b40d073031e35a617b982374d9d1cd4078f43b27053ee34be7c83873c0814ed196
DIST amdgpu-pro-18.20-606296.tar.xz 230733856 BLAKE2B 21a498a894a9712d9f0277fae7f704413be0cd01cebbe427008fa3d181d03b58268e74bd3cdaf0dfb9aeca2871dad82b4aa640bbce690ca461e3f3e4acf01ffd SHA512 6575bf963e5714657914d9116de4d9b1835851fe0609b1f072b1fbdf73c068da77aba0eca1c9cce6e05e6cd8f2c1ed6b4bd6ab4ef334be5ff796ee6a3ad73831
+DIST amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz 229474380 BLAKE2B f589aad71f093b74e37de40ac7c45ebbbeff93609b2fff1baaba711347a4641ef17acdcbe69d371372510a48bd48262cf6269c1f4d05e264023d52a425a423f2 SHA512 240e701acfde4ebe665cf69c8bd3710d036f450822aeb7ee2a21caab289af44167afda1d3b8d0dbe2c46c4e63d9b6fb5e96778311f342c26f334dc7beb4a2d5b
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
new file mode 100644
index 00000000000..739777fa05d
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit unpacker multilib-minimal
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(ver_rs 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx"
+SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-16.04.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="mirror fetch strip"
+
+COMMON="app-eselect/eselect-opencl
+ dev-libs/ocl-icd"
+DEPEND="${COMMON}"
+RDEPEND="${COMMON}"
+
+QA_PREBUILT="/opt/amdgpu/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-16.04"
+
+pkg_nofetch() {
+ local pkgver=$(ver_cut 1-2)
+ einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu 16 from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into your distfiles directory."
+}
+
+src_unpack() {
+ default
+ multilib_parallel_foreach_abi multilib_src_unpack
+}
+
+multilib_src_unpack() {
+ local deb_abi
+ [[ ${ABI} == x86 ]] && deb_abi=i386
+ mkdir -p "${BUILD_DIR}" || die
+ pushd "${BUILD_DIR}" >/dev/null || die
+ unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
+ popd >/dev/null || die
+}
+
+multilib_src_install() {
+ local dir_abi short_abi
+ [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
+ [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
+
+ into "/opt/amdgpu"
+ dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
+
+ insinto /etc/OpenCL/vendors
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
+ > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
+ doins "${T}/${SUPER_PN}-${ABI}.icd"
+}
+
+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
+
+ "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-05-25 12:03 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-05-25 12:03 UTC (permalink / raw
To: gentoo-commits
commit: f035c2c6be0ff6d5575ec32e828f86b8f2d03e3f
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 11:44:08 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat May 25 12:03:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f035c2c6
dev-libs/amdgpu-pro-opencl: remove old
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-libs/amdgpu-pro-opencl/Manifest | 2 -
.../amdgpu-pro-opencl-17.50.552542.ebuild | 81 ----------------------
.../amdgpu-pro-opencl-18.20.606296.ebuild | 65 -----------------
3 files changed, 148 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 83337405581..3fea723843e 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,3 +1 @@
-DIST amdgpu-pro-17.50-552542.tar.xz 549501204 BLAKE2B 37dcda126a3bda4e87b64ce260c7e4b65a1b864363c51f06e3152f152b83a60074331e6a0bf7b831c059a50192dea8add9b38ed16971c87293ce0e56ddf26bb2 SHA512 060e96609cf1a013fddf10db9bba4b512750e5188671a669e2582c28a03213b40d073031e35a617b982374d9d1cd4078f43b27053ee34be7c83873c0814ed196
-DIST amdgpu-pro-18.20-606296.tar.xz 230733856 BLAKE2B 21a498a894a9712d9f0277fae7f704413be0cd01cebbe427008fa3d181d03b58268e74bd3cdaf0dfb9aeca2871dad82b4aa640bbce690ca461e3f3e4acf01ffd SHA512 6575bf963e5714657914d9116de4d9b1835851fe0609b1f072b1fbdf73c068da77aba0eca1c9cce6e05e6cd8f2c1ed6b4bd6ab4ef334be5ff796ee6a3ad73831
DIST amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz 229474380 BLAKE2B f589aad71f093b74e37de40ac7c45ebbbeff93609b2fff1baaba711347a4641ef17acdcbe69d371372510a48bd48262cf6269c1f4d05e264023d52a425a423f2 SHA512 240e701acfde4ebe665cf69c8bd3710d036f450822aeb7ee2a21caab289af44167afda1d3b8d0dbe2c46c4e63d9b6fb5e96778311f342c26f334dc7beb4a2d5b
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
deleted file mode 100644
index b9f388b4b18..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-17.50.552542.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit unpacker
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(ver_rs 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-with-Vulkan-1.1-support.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-COMMON="app-eselect/eselect-opencl
- dev-libs/ocl-icd"
-DEPEND="${COMMON}
- dev-util/patchelf"
-RDEPEND="${COMMON}"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(ver_cut 1-2)
- einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed in your distfiles directory."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local libdrm_ver="2.4.82"
- local patchlevel=$(ver_cut 3)
- cd "${S}" || die
- unpack_deb opencl-${SUPER_PN}-icd_${MY_PV}_amd64.deb
- unpack_deb libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_amd64.deb
- unpack_deb ids-amdgpu_${ids_ver}-${patchlevel}_all.deb
-}
-
-src_prepare() {
- default
-
- cd "${S}/opt/${SUPER_PN}/lib/x86_64-linux-gnu" || die
- patchelf --set-rpath '$ORIGIN' libamdocl64.so || die "Failed to fix library rpath"
-}
-
-src_install() {
- into "/opt/amdgpu"
- dolib.so opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
- dolib.so opt/amdgpu/lib/x86_64-linux-gnu/*
- insinto "/opt/amdgpu"
- doins -r opt/amdgpu/share
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/amdgpu/$(get_libdir)/libamdocl64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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
-
- "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
-}
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
deleted file mode 100644
index 03574c8b01e..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.606296.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit unpacker
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(ver_rs 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-COMMON="app-eselect/eselect-opencl
- dev-libs/ocl-icd"
-DEPEND="${COMMON}"
-RDEPEND="${COMMON}"
-
-QA_PREBUILT="/opt/${SUPER_PN}/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}"
-
-pkg_nofetch() {
- local pkgver=$(ver_cut 1-2)
- einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu 16 from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed in your distfiles directory."
-}
-
-src_unpack() {
- default
-
- cd "${S}" || die
- unpack_deb opencl-orca-amdgpu-pro-icd_${MY_PV}_amd64.deb
-}
-
-src_install() {
- into "/opt/amdgpu"
- dolib.so opt/${SUPER_PN}/lib/x86_64-linux-gnu/*
-
- insinto /etc/OpenCL/vendors/
- echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca64.so" > "${SUPER_PN}.icd" || die "Failed to generate ICD file"
- doins "${SUPER_PN}.icd"
-}
-
-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
-
- "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
-}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-05-25 21:12 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-05-25 21:12 UTC (permalink / raw
To: gentoo-commits
commit: 57f6db34f6f6e016bda0670ccf09fb9684aebfd3
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 21:09:57 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat May 25 21:12:24 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f6db34
dev-libs/amdgpu-pro-opencl: bump to 19.10.785425
The customised libdrm, which was not necessary with 18.20, is back.
Everything seems to work fine on my system, LuxMark consistently
benchmarks 5-10 percent slower than with 18.20 though.
Closes: https://bugs.gentoo.org/669326
Closes: https://bugs.gentoo.org/669562
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-19.10.785425.ebuild | 99 ++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 3fea723843e..f121307d8f2 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1 +1,2 @@
DIST amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz 229474380 BLAKE2B f589aad71f093b74e37de40ac7c45ebbbeff93609b2fff1baaba711347a4641ef17acdcbe69d371372510a48bd48262cf6269c1f4d05e264023d52a425a423f2 SHA512 240e701acfde4ebe665cf69c8bd3710d036f450822aeb7ee2a21caab289af44167afda1d3b8d0dbe2c46c4e63d9b6fb5e96778311f342c26f334dc7beb4a2d5b
+DIST amdgpu-pro-19.10-785425-ubuntu-18.04.tar.xz 243520380 BLAKE2B 8c775feaff685b18b6df2f6f17667dbadb3da89f58c823f5470113342b585ecb436fbacef6ba26b35fe05bac53530cfe334d79d933afee303651e1375654da85 SHA512 d9c214134bf220c2ab4a306f5d83ce5718adc1f3e93165c724e70b99b4b5bcd8e703299ed70fe79f1d2db5f4f69cae2e1036b5a6238696346710c88f7fa6b3c6
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
new file mode 100644
index 00000000000..f86cc108a69
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit unpacker multilib-minimal
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(ver_rs 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-10-unified"
+SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="mirror fetch strip"
+
+BDEPEND="dev-util/patchelf"
+COMMON="app-eselect/eselect-opencl
+ dev-libs/ocl-icd"
+DEPEND="${COMMON}"
+RDEPEND="${COMMON}"
+
+QA_PREBUILT="/opt/amdgpu/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-18.04"
+
+pkg_nofetch() {
+ local pkgver=$(ver_cut 1-2)
+ einfo "Please download Radeon Software for Linux version ${pkgver} for Ubuntu 18.04 from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into your distfiles directory."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local patchlevel=$(ver_cut 3)
+ cd "${S}" || die
+ unpack_deb "${S}/libdrm-amdgpu-common_${ids_ver}-${patchlevel}_all.deb"
+ multilib_parallel_foreach_abi multilib_src_unpack
+}
+
+multilib_src_unpack() {
+ local libdrm_ver="2.4.97"
+ local patchlevel=$(ver_cut 3)
+ local deb_abi
+ [[ ${ABI} == x86 ]] && deb_abi=i386
+
+ mkdir -p "${BUILD_DIR}" || die
+ pushd "${BUILD_DIR}" >/dev/null || die
+ unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
+ unpack_deb "${S}/libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_${deb_abi:-${ABI}}.deb"
+ popd >/dev/null || die
+}
+
+multilib_src_install() {
+ local dir_abi short_abi
+ [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
+ [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
+
+ into "/opt/amdgpu"
+ patchelf --set-rpath '$ORIGIN' "opt/${SUPER_PN}/lib/${dir_abi}"/libamdocl-orca${short_abi}.so || die "Failed to fix library rpath"
+ dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
+ dolib.so "opt/amdgpu/lib/${dir_abi}"/*
+
+ insinto /etc/OpenCL/vendors
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
+ > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
+ doins "${T}/${SUPER_PN}-${ABI}.icd"
+}
+
+# FIXME: is this right?
+multilib_src_install_all() {
+ ewarn "FOO $PWD"
+ ewarn `ls`
+ insinto "/opt/amdgpu"
+ doins -r opt/amdgpu/share
+}
+
+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
+
+ "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-05-29 10:31 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-05-29 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 5b8c1208f08af0fa8b870e3e677abf8cdc7c1bc3
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed May 29 10:30:24 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed May 29 10:30:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8c1208
dev-libs/amdgpu-pro-opencl: conflict with media-libs/mesa[opencl]
With both this and the Mesa OpenCL state tracker enabled, using
dev-libs/ocl-icd one ends up with two OpenCL platforms pointing
to the same hardware - and more importantly causes segmentation faults
in all applications attempting to use OpenCL.
Closes: https://bugs.gentoo.org/686790
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
.../amdgpu-pro-opencl-19.10.785425-r1.ebuild | 100 +++++++++++++++++++++
1 file changed, 100 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
new file mode 100644
index 00000000000..9e9ca9dc6be
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit unpacker multilib-minimal
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(ver_rs 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-10-unified"
+SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="mirror fetch strip"
+
+BDEPEND="dev-util/patchelf"
+COMMON="app-eselect/eselect-opencl
+ dev-libs/ocl-icd"
+DEPEND="${COMMON}"
+RDEPEND="${COMMON}
+ !media-libs/mesa[opencl]" # Bug #686790
+
+QA_PREBUILT="/opt/amdgpu/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-18.04"
+
+pkg_nofetch() {
+ local pkgver=$(ver_cut 1-2)
+ einfo "Please download Radeon Software for Linux version ${pkgver} for Ubuntu 18.04 from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into your distfiles directory."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local patchlevel=$(ver_cut 3)
+ cd "${S}" || die
+ unpack_deb "${S}/libdrm-amdgpu-common_${ids_ver}-${patchlevel}_all.deb"
+ multilib_parallel_foreach_abi multilib_src_unpack
+}
+
+multilib_src_unpack() {
+ local libdrm_ver="2.4.97"
+ local patchlevel=$(ver_cut 3)
+ local deb_abi
+ [[ ${ABI} == x86 ]] && deb_abi=i386
+
+ mkdir -p "${BUILD_DIR}" || die
+ pushd "${BUILD_DIR}" >/dev/null || die
+ unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
+ unpack_deb "${S}/libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_${deb_abi:-${ABI}}.deb"
+ popd >/dev/null || die
+}
+
+multilib_src_install() {
+ local dir_abi short_abi
+ [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
+ [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
+
+ into "/opt/amdgpu"
+ patchelf --set-rpath '$ORIGIN' "opt/${SUPER_PN}/lib/${dir_abi}"/libamdocl-orca${short_abi}.so || die "Failed to fix library rpath"
+ dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
+ dolib.so "opt/amdgpu/lib/${dir_abi}"/*
+
+ insinto /etc/OpenCL/vendors
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
+ > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
+ doins "${T}/${SUPER_PN}-${ABI}.icd"
+}
+
+# FIXME: is this right?
+multilib_src_install_all() {
+ ewarn "FOO $PWD"
+ ewarn `ls`
+ insinto "/opt/amdgpu"
+ doins -r opt/amdgpu/share
+}
+
+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
+
+ "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-05-30 22:17 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-05-30 22:17 UTC (permalink / raw
To: gentoo-commits
commit: 1a475e034b40f27f06875ca0d7f2d99d87e8376f
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 22:16:46 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu May 30 22:16:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a475e03
dev-libs/amdgpu-pro-opencl: remove ~x86 keyword from all ebuilds
This keyword was added by the PR implementing multilib support and I
accidentally merged it into the tree along with the rest of the changes;
it was NOT approved by the x86 arch team.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild | 2 +-
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild | 2 +-
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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 739777fa05d..ffc46c93b61 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
@@ -16,7 +16,7 @@ SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-16.04.tar.xz"
LICENSE="AMD-GPU-PRO-EULA"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
RESTRICT="mirror fetch strip"
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
index 9e9ca9dc6be..12086b373c1 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
LICENSE="AMD-GPU-PRO-EULA"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
RESTRICT="mirror fetch strip"
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
index f86cc108a69..21ba2fc2953 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
@@ -16,7 +16,7 @@ SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
LICENSE="AMD-GPU-PRO-EULA"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
RESTRICT="mirror fetch strip"
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-06-18 18:24 Thomas Deutschmann
0 siblings, 0 replies; 37+ messages in thread
From: Thomas Deutschmann @ 2019-06-18 18:24 UTC (permalink / raw
To: gentoo-commits
commit: ce1e5389da2a64a6ff54728f323380691285d876
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 18:04:05 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 18:24:13 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1e5389
dev-libs/amdgpu-pro-opencl: x86 keyworded (bug #686970)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
index 12086b373c1..9e9ca9dc6be 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
LICENSE="AMD-GPU-PRO-EULA"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
RESTRICT="mirror fetch strip"
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-08-10 15:46 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-08-10 15:46 UTC (permalink / raw
To: gentoo-commits
commit: 5af0183de283bfe613192ecf1cb9d581792d5369
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 15:43:35 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 15:45:55 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af0183d
dev-libs/amdgpu-pro-opencl: bump to 19.30.838629
Suggested-By: Jerrod Frost <piroisl33t <AT> gmail.com>
Closes: https://bugs.gentoo.org/690366
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-19.30.838629.ebuild | 100 +++++++++++++++++++++
2 files changed, 101 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index f121307d8f2..4425b687e69 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,2 +1,3 @@
DIST amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz 229474380 BLAKE2B f589aad71f093b74e37de40ac7c45ebbbeff93609b2fff1baaba711347a4641ef17acdcbe69d371372510a48bd48262cf6269c1f4d05e264023d52a425a423f2 SHA512 240e701acfde4ebe665cf69c8bd3710d036f450822aeb7ee2a21caab289af44167afda1d3b8d0dbe2c46c4e63d9b6fb5e96778311f342c26f334dc7beb4a2d5b
DIST amdgpu-pro-19.10-785425-ubuntu-18.04.tar.xz 243520380 BLAKE2B 8c775feaff685b18b6df2f6f17667dbadb3da89f58c823f5470113342b585ecb436fbacef6ba26b35fe05bac53530cfe334d79d933afee303651e1375654da85 SHA512 d9c214134bf220c2ab4a306f5d83ce5718adc1f3e93165c724e70b99b4b5bcd8e703299ed70fe79f1d2db5f4f69cae2e1036b5a6238696346710c88f7fa6b3c6
+DIST amdgpu-pro-19.30-838629-ubuntu-18.04.tar.xz 301833044 BLAKE2B ffdd49be431906c5ba20e9b285b44e368b40a70678177412d2329489c987567612f5262b64a9a1aef137cef603f77f768127d674c13488e13dddbc8732cf729c SHA512 7e8091dd37ae176d1ff131e5e2b13961f5a33fc7243052dce074dffb1468476f267d50a920182358188e44f4a93d0cbf39c5d430d56a9a2e09a67409e3478904
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
new file mode 100644
index 00000000000..4bf9f6a5d2f
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit unpacker multilib-minimal
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(ver_rs 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-navi-linux"
+SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="mirror fetch strip"
+
+BDEPEND="dev-util/patchelf"
+COMMON="app-eselect/eselect-opencl
+ dev-libs/ocl-icd"
+DEPEND="${COMMON}"
+RDEPEND="${COMMON}
+ !media-libs/mesa[opencl]" # Bug #686790
+
+QA_PREBUILT="/opt/amdgpu/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-18.04"
+
+pkg_nofetch() {
+ local pkgver=$(ver_cut 1-2)
+ einfo "Please download Radeon Software for Linux version ${pkgver} for Ubuntu 18.04 from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into your distfiles directory."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local patchlevel=$(ver_cut 3)
+ cd "${S}" || die
+ unpack_deb "${S}/libdrm-amdgpu-common_${ids_ver}-${patchlevel}_all.deb"
+ multilib_parallel_foreach_abi multilib_src_unpack
+}
+
+multilib_src_unpack() {
+ local libdrm_ver="2.4.98"
+ local patchlevel=$(ver_cut 3)
+ local deb_abi
+ [[ ${ABI} == x86 ]] && deb_abi=i386
+
+ mkdir -p "${BUILD_DIR}" || die
+ pushd "${BUILD_DIR}" >/dev/null || die
+ unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
+ unpack_deb "${S}/libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_${deb_abi:-${ABI}}.deb"
+ popd >/dev/null || die
+}
+
+multilib_src_install() {
+ local dir_abi short_abi
+ [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
+ [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
+
+ into "/opt/amdgpu"
+ patchelf --set-rpath '$ORIGIN' "opt/${SUPER_PN}/lib/${dir_abi}"/libamdocl-orca${short_abi}.so || die "Failed to fix library rpath"
+ dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
+ dolib.so "opt/amdgpu/lib/${dir_abi}"/*
+
+ insinto /etc/OpenCL/vendors
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
+ > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
+ doins "${T}/${SUPER_PN}-${ABI}.icd"
+}
+
+# FIXME: is this right?
+multilib_src_install_all() {
+ ewarn "FOO $PWD"
+ ewarn `ls`
+ insinto "/opt/amdgpu"
+ doins -r opt/amdgpu/share
+}
+
+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
+
+ "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-08-10 21:10 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-08-10 21:10 UTC (permalink / raw
To: gentoo-commits
commit: 75ee15938065b6c0c81202ffea223315964c699c
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 21:09:06 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 21:09:35 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ee1593
dev-libs/amdgpu-pro-opencl: switch off debugging messages in ebuilds
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-19.10.785425-r1.ebuild | 3 ---
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild | 3 ---
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild | 3 ---
3 files changed, 9 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
index 9e9ca9dc6be..17472bd93ad 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
@@ -77,10 +77,7 @@ multilib_src_install() {
doins "${T}/${SUPER_PN}-${ABI}.icd"
}
-# FIXME: is this right?
multilib_src_install_all() {
- ewarn "FOO $PWD"
- ewarn `ls`
insinto "/opt/amdgpu"
doins -r opt/amdgpu/share
}
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
index 21ba2fc2953..bf99e75ccc5 100644
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
@@ -76,10 +76,7 @@ multilib_src_install() {
doins "${T}/${SUPER_PN}-${ABI}.icd"
}
-# FIXME: is this right?
multilib_src_install_all() {
- ewarn "FOO $PWD"
- ewarn `ls`
insinto "/opt/amdgpu"
doins -r opt/amdgpu/share
}
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 4bf9f6a5d2f..a7fc2f7c5bb 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
@@ -77,10 +77,7 @@ multilib_src_install() {
doins "${T}/${SUPER_PN}-${ABI}.icd"
}
-# FIXME: is this right?
multilib_src_install_all() {
- ewarn "FOO $PWD"
- ewarn `ls`
insinto "/opt/amdgpu"
doins -r opt/amdgpu/share
}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-08-20 15:14 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-08-20 15:14 UTC (permalink / raw
To: gentoo-commits
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
}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-08-20 15:14 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-08-20 15:14 UTC (permalink / raw
To: gentoo-commits
commit: 648332c06aec7cca67d9243242510c8a6e968319
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 15:07:17 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 15:14:39 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648332c0
dev-libs/amdgpu-pro-opencl: remove old 19.x ebuilds
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/Manifest | 1 -
.../amdgpu-pro-opencl-19.10.785425-r1.ebuild | 97 ----------------------
.../amdgpu-pro-opencl-19.10.785425.ebuild | 96 ---------------------
3 files changed, 194 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index 4425b687e69..f7a861f101c 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,3 +1,2 @@
DIST amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz 229474380 BLAKE2B f589aad71f093b74e37de40ac7c45ebbbeff93609b2fff1baaba711347a4641ef17acdcbe69d371372510a48bd48262cf6269c1f4d05e264023d52a425a423f2 SHA512 240e701acfde4ebe665cf69c8bd3710d036f450822aeb7ee2a21caab289af44167afda1d3b8d0dbe2c46c4e63d9b6fb5e96778311f342c26f334dc7beb4a2d5b
-DIST amdgpu-pro-19.10-785425-ubuntu-18.04.tar.xz 243520380 BLAKE2B 8c775feaff685b18b6df2f6f17667dbadb3da89f58c823f5470113342b585ecb436fbacef6ba26b35fe05bac53530cfe334d79d933afee303651e1375654da85 SHA512 d9c214134bf220c2ab4a306f5d83ce5718adc1f3e93165c724e70b99b4b5bcd8e703299ed70fe79f1d2db5f4f69cae2e1036b5a6238696346710c88f7fa6b3c6
DIST amdgpu-pro-19.30-838629-ubuntu-18.04.tar.xz 301833044 BLAKE2B ffdd49be431906c5ba20e9b285b44e368b40a70678177412d2329489c987567612f5262b64a9a1aef137cef603f77f768127d674c13488e13dddbc8732cf729c SHA512 7e8091dd37ae176d1ff131e5e2b13961f5a33fc7243052dce074dffb1468476f267d50a920182358188e44f4a93d0cbf39c5d430d56a9a2e09a67409e3478904
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
deleted file mode 100644
index 17472bd93ad..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit unpacker multilib-minimal
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(ver_rs 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-10-unified"
-SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="mirror fetch strip"
-
-BDEPEND="dev-util/patchelf"
-COMMON="app-eselect/eselect-opencl
- dev-libs/ocl-icd"
-DEPEND="${COMMON}"
-RDEPEND="${COMMON}
- !media-libs/mesa[opencl]" # Bug #686790
-
-QA_PREBUILT="/opt/amdgpu/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-18.04"
-
-pkg_nofetch() {
- local pkgver=$(ver_cut 1-2)
- einfo "Please download Radeon Software for Linux version ${pkgver} for Ubuntu 18.04 from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into your distfiles directory."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local patchlevel=$(ver_cut 3)
- cd "${S}" || die
- unpack_deb "${S}/libdrm-amdgpu-common_${ids_ver}-${patchlevel}_all.deb"
- multilib_parallel_foreach_abi multilib_src_unpack
-}
-
-multilib_src_unpack() {
- local libdrm_ver="2.4.97"
- local patchlevel=$(ver_cut 3)
- local deb_abi
- [[ ${ABI} == x86 ]] && deb_abi=i386
-
- mkdir -p "${BUILD_DIR}" || die
- pushd "${BUILD_DIR}" >/dev/null || die
- unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
- unpack_deb "${S}/libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_${deb_abi:-${ABI}}.deb"
- popd >/dev/null || die
-}
-
-multilib_src_install() {
- local dir_abi short_abi
- [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
- [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
-
- into "/opt/amdgpu"
- patchelf --set-rpath '$ORIGIN' "opt/${SUPER_PN}/lib/${dir_abi}"/libamdocl-orca${short_abi}.so || die "Failed to fix library rpath"
- dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
- dolib.so "opt/amdgpu/lib/${dir_abi}"/*
-
- insinto /etc/OpenCL/vendors
- echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
- > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
- doins "${T}/${SUPER_PN}-${ABI}.icd"
-}
-
-multilib_src_install_all() {
- insinto "/opt/amdgpu"
- doins -r opt/amdgpu/share
-}
-
-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
-
- "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
-}
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
deleted file mode 100644
index bf99e75ccc5..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.10.785425.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit unpacker multilib-minimal
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(ver_rs 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-10-unified"
-SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="mirror fetch strip"
-
-BDEPEND="dev-util/patchelf"
-COMMON="app-eselect/eselect-opencl
- dev-libs/ocl-icd"
-DEPEND="${COMMON}"
-RDEPEND="${COMMON}"
-
-QA_PREBUILT="/opt/amdgpu/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-18.04"
-
-pkg_nofetch() {
- local pkgver=$(ver_cut 1-2)
- einfo "Please download Radeon Software for Linux version ${pkgver} for Ubuntu 18.04 from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into your distfiles directory."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local patchlevel=$(ver_cut 3)
- cd "${S}" || die
- unpack_deb "${S}/libdrm-amdgpu-common_${ids_ver}-${patchlevel}_all.deb"
- multilib_parallel_foreach_abi multilib_src_unpack
-}
-
-multilib_src_unpack() {
- local libdrm_ver="2.4.97"
- local patchlevel=$(ver_cut 3)
- local deb_abi
- [[ ${ABI} == x86 ]] && deb_abi=i386
-
- mkdir -p "${BUILD_DIR}" || die
- pushd "${BUILD_DIR}" >/dev/null || die
- unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
- unpack_deb "${S}/libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_${deb_abi:-${ABI}}.deb"
- popd >/dev/null || die
-}
-
-multilib_src_install() {
- local dir_abi short_abi
- [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
- [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
-
- into "/opt/amdgpu"
- patchelf --set-rpath '$ORIGIN' "opt/${SUPER_PN}/lib/${dir_abi}"/libamdocl-orca${short_abi}.so || die "Failed to fix library rpath"
- dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
- dolib.so "opt/amdgpu/lib/${dir_abi}"/*
-
- insinto /etc/OpenCL/vendors
- echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
- > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
- doins "${T}/${SUPER_PN}-${ABI}.icd"
-}
-
-multilib_src_install_all() {
- insinto "/opt/amdgpu"
- doins -r opt/amdgpu/share
-}
-
-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
-
- "${ROOT}"/usr/bin/eselect opencl set --use-old ocl-icd
-}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-09-23 17:16 Michał Górny
0 siblings, 0 replies; 37+ messages in thread
From: Michał Górny @ 2019-09-23 17:16 UTC (permalink / raw
To: gentoo-commits
commit: 04b7102038a7676e01397fe929564683c25771e8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 17:04:59 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 17:15:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b71020
dev-libs/amdgpu-pro-opencl: Add RESTRICT=bindist
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild | 2 +-
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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 eb1c7e963ec..ac280883334 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
@@ -18,7 +18,7 @@ LICENSE="AMD-GPU-PRO-EULA"
SLOT="0"
KEYWORDS="~amd64"
-RESTRICT="mirror fetch strip"
+RESTRICT="bindist mirror fetch strip"
COMMON="app-eselect/eselect-opencl
dev-libs/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 218485840c5..f231e2b4b31 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
@@ -18,7 +18,7 @@ LICENSE="AMD-GPU-PRO-EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="mirror fetch strip"
+RESTRICT="bindist mirror fetch strip"
BDEPEND="dev-util/patchelf"
COMMON="app-eselect/eselect-opencl
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-09-30 12:49 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-09-30 12:49 UTC (permalink / raw
To: gentoo-commits
commit: 68a1c2a46fbbeb2ccd7b63546702a31c1c77d6fd
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 12:49:10 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 12:49:37 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a1c2a4
dev-libs/amdgpu-pro-opencl: remove longdescription from metadata
This no longer _necessary_ to have OpenCL on amdgpu, we have now got
dev-libs/rocm-opencl-runtime as well,
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/metadata.xml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/metadata.xml b/dev-libs/amdgpu-pro-opencl/metadata.xml
index 8c9e58cc4d2..3e5026ee375 100644
--- a/dev-libs/amdgpu-pro-opencl/metadata.xml
+++ b/dev-libs/amdgpu-pro-opencl/metadata.xml
@@ -5,10 +5,4 @@
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
- <longdescription lang="en">
- This package contains the libraries necessary to enable OpenCL support
- on AMD GPUs supported by the amdgpu driver. The libraries themselves
- are part of the proprietary AMDGPU-Pro suite but work fine with the
- free amdgpu driver stack.
- </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2019-10-07 10:19 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2019-10-07 10:19 UTC (permalink / raw
To: gentoo-commits
commit: 8a93a22ee1f4a1d2adf89e451a3d28ce30063f6a
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 7 10:19:18 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Oct 7 10:19:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a93a22e
dev-libs/amdgpu-pro-opencl: downgrade to maintainer-needed
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/metadata.xml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/metadata.xml b/dev-libs/amdgpu-pro-opencl/metadata.xml
index 3e5026ee375..7a38bb90096 100644
--- a/dev-libs/amdgpu-pro-opencl/metadata.xml
+++ b/dev-libs/amdgpu-pro-opencl/metadata.xml
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>marecki@gentoo.org</email>
- <name>Marek Szuba</name>
- </maintainer>
+ <!-- maintainer-needed -->
</pkgmetadata>
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2020-04-08 14:57 Marek Szuba
0 siblings, 0 replies; 37+ messages in thread
From: Marek Szuba @ 2020-04-08 14:57 UTC (permalink / raw
To: gentoo-commits
commit: 1bf3c2372478a246d8a34fcfce8c57402cb47606
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 8 14:55:28 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Apr 8 14:56:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf3c237
dev-libs/amdgpu-pro-opencl: do not force use of specific ICD loader
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild | 7 ++-----
dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild | 7 ++-----
2 files changed, 4 insertions(+), 10 deletions(-)
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 ac280883334..9a74bfe7877 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,8 +20,7 @@ KEYWORDS="~amd64"
RESTRICT="bindist mirror fetch strip"
-COMMON="app-eselect/eselect-opencl
- dev-libs/ocl-icd"
+COMMON=">=virtual/opencl-3"
DEPEND="${COMMON}"
RDEPEND="${COMMON}"
@@ -79,6 +78,4 @@ pkg_postinst() {
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 f231e2b4b31..74f04d50cda 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,8 +21,7 @@ KEYWORDS="~amd64 ~x86"
RESTRICT="bindist mirror fetch strip"
BDEPEND="dev-util/patchelf"
-COMMON="app-eselect/eselect-opencl
- dev-libs/ocl-icd"
+COMMON=">=virtual/opencl-3"
DEPEND="${COMMON}"
RDEPEND="${COMMON}
!media-libs/mesa[opencl]" # Bug #686790
@@ -97,6 +96,4 @@ pkg_postinst() {
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
}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2020-11-11 11:25 Joonas Niilola
0 siblings, 0 replies; 37+ messages in thread
From: Joonas Niilola @ 2020-11-11 11:25 UTC (permalink / raw
To: gentoo-commits
commit: af043dae2368ee929b787fa011e43fc7dc56af4a
Author: Max Audron <audron <AT> cocaine <DOT> farm>
AuthorDate: Wed Nov 4 17:13:18 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 11:25:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af043dae
dev-libs/amdgpu-pro-opencl: bump to 20.40.1147286
Bug: https://bugs.gentoo.org/706406
Signed-off-by: Max Audron <audron <AT> cocaine.farm>
Closes: https://github.com/gentoo/gentoo/pull/18131
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/Manifest | 1 +
.../amdgpu-pro-opencl-20.40.1147286.ebuild | 99 ++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index f7a861f101c..d5cd4b3e792 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,2 +1,3 @@
DIST amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz 229474380 BLAKE2B f589aad71f093b74e37de40ac7c45ebbbeff93609b2fff1baaba711347a4641ef17acdcbe69d371372510a48bd48262cf6269c1f4d05e264023d52a425a423f2 SHA512 240e701acfde4ebe665cf69c8bd3710d036f450822aeb7ee2a21caab289af44167afda1d3b8d0dbe2c46c4e63d9b6fb5e96778311f342c26f334dc7beb4a2d5b
DIST amdgpu-pro-19.30-838629-ubuntu-18.04.tar.xz 301833044 BLAKE2B ffdd49be431906c5ba20e9b285b44e368b40a70678177412d2329489c987567612f5262b64a9a1aef137cef603f77f768127d674c13488e13dddbc8732cf729c SHA512 7e8091dd37ae176d1ff131e5e2b13961f5a33fc7243052dce074dffb1468476f267d50a920182358188e44f4a93d0cbf39c5d430d56a9a2e09a67409e3478904
+DIST amdgpu-pro-20.40-1147286-ubuntu-20.04.tar.xz 333011308 BLAKE2B 82d0b728ee06bbc1a3dde579215a23397abb223caf7e2922b71dda9f31bebf13eaf5b1c5c7f25146dc2cfb31b57d16e848b0f902e599ed361e9285998cdb99fd SHA512 9b064a3b02d2a1ec18fdd6c098b70f4a8c6f93e4bfdc4e9a032ca387bdf7223278622c19d5bd55e493555c5f734168c3f2768cb743f9e00dcf5f96cbc399c7b3
diff --git a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-20.40.1147286.ebuild b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-20.40.1147286.ebuild
new file mode 100644
index 00000000000..4c69674212f
--- /dev/null
+++ b/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-20.40.1147286.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit unpacker multilib-minimal
+
+SUPER_PN='amdgpu-pro'
+MY_PV=$(ver_rs 2 '-')
+
+DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
+HOMEPAGE="https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-40"
+SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-20.04.tar.xz"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="bindist mirror fetch strip"
+
+BDEPEND="dev-util/patchelf"
+COMMON=">=virtual/opencl-3"
+DEPEND="${COMMON}"
+RDEPEND="${COMMON}
+ !media-libs/mesa[opencl]" # Bug #686790
+
+QA_PREBUILT="/opt/amdgpu/lib*/*"
+
+S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-20.04"
+
+pkg_nofetch() {
+ local pkgver=$(ver_cut 1-2)
+ einfo "Please download Radeon Software for Linux version ${pkgver} for Ubuntu 20.04.1 from"
+ einfo " ${HOMEPAGE}"
+ einfo "The archive should then be placed into your distfiles directory."
+}
+
+src_unpack() {
+ default
+
+ local ids_ver="1.0.0"
+ local patchlevel=$(ver_cut 3)
+ cd "${S}" || die
+ unpack_deb "${S}/libdrm-amdgpu-common_${ids_ver}-${patchlevel}_all.deb"
+ multilib_parallel_foreach_abi multilib_src_unpack
+}
+
+multilib_src_unpack() {
+ local libdrm_ver="2.4.100"
+ local patchlevel=$(ver_cut 3)
+ local deb_abi
+ [[ ${ABI} == x86 ]] && deb_abi=i386
+
+ mkdir -p "${BUILD_DIR}" || die
+ pushd "${BUILD_DIR}" >/dev/null || die
+ unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
+ unpack_deb "${S}/libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_${deb_abi:-${ABI}}.deb"
+ popd >/dev/null || die
+}
+
+multilib_src_install() {
+ local dir_abi short_abi
+ [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
+ [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
+
+ into "/opt/amdgpu"
+ patchelf --set-rpath '$ORIGIN' "opt/${SUPER_PN}/lib/${dir_abi}"/libamdocl-orca${short_abi}.so || die "Failed to fix library rpath"
+ dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
+ dolib.so "opt/amdgpu/lib/${dir_abi}"/*
+
+ insinto /etc/OpenCL/vendors
+ echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
+ > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
+ doins "${T}/${SUPER_PN}-${ABI}.icd"
+}
+
+multilib_src_install_all() {
+ insinto "/opt/amdgpu"
+ doins -r opt/amdgpu/share
+}
+
+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 ""
+ 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 ""
+}
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/
@ 2021-03-21 8:24 Joonas Niilola
0 siblings, 0 replies; 37+ messages in thread
From: Joonas Niilola @ 2021-03-21 8:24 UTC (permalink / raw
To: gentoo-commits
commit: 574d2396241757783f7f737ef9b1b85e2f58a432
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 21 08:15:15 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 08:15:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=574d2396
dev-libs/amdgpu-pro-opencl: drop 18.20.684755, 19.30.838629
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/amdgpu-pro-opencl/Manifest | 2 -
.../amdgpu-pro-opencl-18.20.684755.ebuild | 81 ------------------
.../amdgpu-pro-opencl-19.30.838629.ebuild | 99 ----------------------
3 files changed, 182 deletions(-)
diff --git a/dev-libs/amdgpu-pro-opencl/Manifest b/dev-libs/amdgpu-pro-opencl/Manifest
index d5cd4b3e792..bb125b081ad 100644
--- a/dev-libs/amdgpu-pro-opencl/Manifest
+++ b/dev-libs/amdgpu-pro-opencl/Manifest
@@ -1,3 +1 @@
-DIST amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz 229474380 BLAKE2B f589aad71f093b74e37de40ac7c45ebbbeff93609b2fff1baaba711347a4641ef17acdcbe69d371372510a48bd48262cf6269c1f4d05e264023d52a425a423f2 SHA512 240e701acfde4ebe665cf69c8bd3710d036f450822aeb7ee2a21caab289af44167afda1d3b8d0dbe2c46c4e63d9b6fb5e96778311f342c26f334dc7beb4a2d5b
-DIST amdgpu-pro-19.30-838629-ubuntu-18.04.tar.xz 301833044 BLAKE2B ffdd49be431906c5ba20e9b285b44e368b40a70678177412d2329489c987567612f5262b64a9a1aef137cef603f77f768127d674c13488e13dddbc8732cf729c SHA512 7e8091dd37ae176d1ff131e5e2b13961f5a33fc7243052dce074dffb1468476f267d50a920182358188e44f4a93d0cbf39c5d430d56a9a2e09a67409e3478904
DIST amdgpu-pro-20.40-1147286-ubuntu-20.04.tar.xz 333011308 BLAKE2B 82d0b728ee06bbc1a3dde579215a23397abb223caf7e2922b71dda9f31bebf13eaf5b1c5c7f25146dc2cfb31b57d16e848b0f902e599ed361e9285998cdb99fd SHA512 9b064a3b02d2a1ec18fdd6c098b70f4a8c6f93e4bfdc4e9a032ca387bdf7223278622c19d5bd55e493555c5f734168c3f2768cb743f9e00dcf5f96cbc399c7b3
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
deleted file mode 100644
index 9a74bfe7877..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-18.20.684755.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit unpacker multilib-minimal
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(ver_rs 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx"
-SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-16.04.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="bindist mirror fetch strip"
-
-COMMON=">=virtual/opencl-3"
-DEPEND="${COMMON}"
-RDEPEND="${COMMON}"
-
-QA_PREBUILT="/opt/amdgpu/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-16.04"
-
-pkg_nofetch() {
- local pkgver=$(ver_cut 1-2)
- einfo "Please download the Radeon Software for Linux Driver ${pkgver} for Ubuntu 16 from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into your distfiles directory."
-}
-
-src_unpack() {
- default
- multilib_parallel_foreach_abi multilib_src_unpack
-}
-
-multilib_src_unpack() {
- local deb_abi
- [[ ${ABI} == x86 ]] && deb_abi=i386
- mkdir -p "${BUILD_DIR}" || die
- pushd "${BUILD_DIR}" >/dev/null || die
- unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
- popd >/dev/null || die
-}
-
-multilib_src_install() {
- local dir_abi short_abi
- [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
- [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
-
- into "/opt/amdgpu"
- dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
-
- insinto /etc/OpenCL/vendors
- echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
- > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
- doins "${T}/${SUPER_PN}-${ABI}.icd"
-}
-
-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 ""
- 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 ""
-}
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
deleted file mode 100644
index 74f04d50cda..00000000000
--- a/dev-libs/amdgpu-pro-opencl/amdgpu-pro-opencl-19.30.838629.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit unpacker multilib-minimal
-
-SUPER_PN='amdgpu-pro'
-MY_PV=$(ver_rs 2 '-')
-
-DESCRIPTION="Proprietary OpenCL implementation for AMD GPUs"
-HOMEPAGE="https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-navi-linux"
-SRC_URI="${SUPER_PN}-${MY_PV}-ubuntu-18.04.tar.xz"
-
-LICENSE="AMD-GPU-PRO-EULA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RESTRICT="bindist mirror fetch strip"
-
-BDEPEND="dev-util/patchelf"
-COMMON=">=virtual/opencl-3"
-DEPEND="${COMMON}"
-RDEPEND="${COMMON}
- !media-libs/mesa[opencl]" # Bug #686790
-
-QA_PREBUILT="/opt/amdgpu/lib*/*"
-
-S="${WORKDIR}/${SUPER_PN}-${MY_PV}-ubuntu-18.04"
-
-pkg_nofetch() {
- local pkgver=$(ver_cut 1-2)
- einfo "Please download Radeon Software for Linux version ${pkgver} for Ubuntu 18.04 from"
- einfo " ${HOMEPAGE}"
- einfo "The archive should then be placed into your distfiles directory."
-}
-
-src_unpack() {
- default
-
- local ids_ver="1.0.0"
- local patchlevel=$(ver_cut 3)
- cd "${S}" || die
- unpack_deb "${S}/libdrm-amdgpu-common_${ids_ver}-${patchlevel}_all.deb"
- multilib_parallel_foreach_abi multilib_src_unpack
-}
-
-multilib_src_unpack() {
- local libdrm_ver="2.4.98"
- local patchlevel=$(ver_cut 3)
- local deb_abi
- [[ ${ABI} == x86 ]] && deb_abi=i386
-
- mkdir -p "${BUILD_DIR}" || die
- pushd "${BUILD_DIR}" >/dev/null || die
- unpack_deb "${S}/opencl-orca-amdgpu-pro-icd_${MY_PV}_${deb_abi:-${ABI}}.deb"
- unpack_deb "${S}/libdrm-amdgpu-amdgpu1_${libdrm_ver}-${patchlevel}_${deb_abi:-${ABI}}.deb"
- popd >/dev/null || die
-}
-
-multilib_src_install() {
- local dir_abi short_abi
- [[ ${ABI} == x86 ]] && dir_abi=i386-linux-gnu && short_abi=32
- [[ ${ABI} == amd64 ]] && dir_abi=x86_64-linux-gnu && short_abi=64
-
- into "/opt/amdgpu"
- patchelf --set-rpath '$ORIGIN' "opt/${SUPER_PN}/lib/${dir_abi}"/libamdocl-orca${short_abi}.so || die "Failed to fix library rpath"
- dolib.so "opt/${SUPER_PN}/lib/${dir_abi}"/*
- dolib.so "opt/amdgpu/lib/${dir_abi}"/*
-
- insinto /etc/OpenCL/vendors
- echo "/opt/amdgpu/$(get_libdir)/libamdocl-orca${short_abi}.so" \
- > "${T}/${SUPER_PN}-${ABI}.icd" || die "Failed to generate ICD file for ABI ${ABI}"
- doins "${T}/${SUPER_PN}-${ABI}.icd"
-}
-
-multilib_src_install_all() {
- insinto "/opt/amdgpu"
- doins -r opt/amdgpu/share
-}
-
-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 ""
- 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 ""
-}
^ permalink raw reply related [flat|nested] 37+ messages in thread
end of thread, other threads:[~2021-03-21 8:24 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30 12:58 [gentoo-commits] repo/gentoo:master commit in: dev-libs/amdgpu-pro-opencl/ Marek Szuba
-- strict thread matches above, loose matches on Subject: below --
2021-03-21 8:24 Joonas Niilola
2020-11-11 11:25 Joonas Niilola
2020-04-08 14:57 Marek Szuba
2019-10-07 10:19 Marek Szuba
2019-09-30 12:49 Marek Szuba
2019-09-23 17:16 Michał Górny
2019-08-20 15:14 Marek Szuba
2019-08-20 15:14 Marek Szuba
2019-08-10 21:10 Marek Szuba
2019-08-10 15:46 Marek Szuba
2019-06-18 18:24 Thomas Deutschmann
2019-05-30 22:17 Marek Szuba
2019-05-29 10:31 Marek Szuba
2019-05-25 21:12 Marek Szuba
2019-05-25 12:03 Marek Szuba
2019-01-15 9:52 Marek Szuba
2018-11-09 8:45 Marek Szuba
2018-09-27 9:49 Marek Szuba
2018-08-31 13:44 Marek Szuba
2018-07-09 14:04 Marek Szuba
2018-07-09 14:04 Marek Szuba
2018-06-26 19:47 Marek Szuba
2018-06-20 10:10 Marek Szuba
2018-05-25 10:04 Marek Szuba
2018-05-25 10:04 Marek Szuba
2017-12-16 10:03 Marek Szuba
2017-12-16 9:44 Marek Szuba
2017-12-11 0:55 Ulrich Müller
2017-11-21 11:00 Marek Szuba
2017-11-20 15:32 Marek Szuba
2017-11-19 21:03 Marek Szuba
2017-10-13 22:26 Marek Szuba
2017-08-06 16:38 Marek Szuba
2017-08-06 16:38 Marek Szuba
2017-08-02 19:46 Marek Szuba
2017-06-27 10:58 Marek Szuba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox