From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B454D138334 for ; Wed, 10 Jul 2019 18:07:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6041E079C; Wed, 10 Jul 2019 18:07:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B992EE079C for ; Wed, 10 Jul 2019 18:07:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DD4A34760F for ; Wed, 10 Jul 2019 18:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C93558B for ; Wed, 10 Jul 2019 18:07:39 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1562782040.4e61896e4fda690838df18ed03a802b4b0d93b1d.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: virtual/opencl/ X-VCS-Repository: repo/gentoo X-VCS-Files: virtual/opencl/opencl-1.ebuild X-VCS-Directories: virtual/opencl/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 4e61896e4fda690838df18ed03a802b4b0d93b1d X-VCS-Branch: master Date: Wed, 10 Jul 2019 18:07:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 39d2dcd8-9aa6-4f8d-9ccd-90ef2f9bce96 X-Archives-Hash: bdb1012588efbbc29a25b41d8ef0590d commit: 4e61896e4fda690838df18ed03a802b4b0d93b1d Author: Marek Szuba gentoo org> AuthorDate: Wed Jul 10 18:05:44 2019 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Jul 10 18:07:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e61896e virtual/opencl: updates for amdgpu and i965 providers Committed with the maintainers' approval. Changes: 1. Remove ABI constraints on dev-libs/amdgpu-pro-opencl - it now both supports amd64 multilib and has been keyworded for x86; 2. For amd64 users with no need for 32-bit multilib the preferred OpenCL provider is now dev-libs/intel-neo - it is more modern and faster, moreover dev-libs/beignet has been deprecated upstream in favour of NEO for systems which support the latter (i.e. native amd64 on Skylake and up); 3. Move the Beignet/NEO dependency ahead of the media-libs/mesa[opencl] dependency - Mesa only provides OpenCL support to Gallium-based drivers and i965 doesn't use Gallium at all. Closes: https://bugs.gentoo.org/686964 Signed-off-by: Marek Szuba gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 virtual/opencl/opencl-1.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/virtual/opencl/opencl-1.ebuild b/virtual/opencl/opencl-1.ebuild new file mode 100644 index 00000000000..1edfbbce531 --- /dev/null +++ b/virtual/opencl/opencl-1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-build + +DESCRIPTION="Virtual for OpenCL implementations" +SLOT="0" +KEYWORDS="~amd64 ~x86" +CARDS=( amdgpu i965 nvidia ) +IUSE="${CARDS[@]/#/video_cards_}" + +# intel-neo and intel-ocl-sdk are amd64-only +RDEPEND="app-eselect/eselect-opencl + || ( + video_cards_i965? ( || ( + abi_x86_64? ( !abi_x86_32? ( dev-libs/intel-neo ) ) + dev-libs/beignet ) ) + >=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}] + video_cards_amdgpu? ( dev-libs/amdgpu-pro-opencl ) + video_cards_nvidia? ( + >=x11-drivers/nvidia-drivers-290.10-r2[uvm] ) + abi_x86_64? ( !abi_x86_32? ( dev-util/intel-ocl-sdk ) ) + )"