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 727491382C5 for ; Sat, 20 Mar 2021 09:02:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3D1EE0821; Sat, 20 Mar 2021 09:02:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9C48EE0821 for ; Sat, 20 Mar 2021 09:02:20 +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 77E4D33BEBC for ; Sat, 20 Mar 2021 09:02:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBC6A5B8 for ; Sat, 20 Mar 2021 09:02:17 +0000 (UTC) From: "罗百科" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" Message-ID: <1616230914.7c8e6574b9b46191467f2e1568127c801890c250.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ocl-icd/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/ocl-icd/Manifest dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild X-VCS-Directories: dev-libs/ocl-icd/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 7c8e6574b9b46191467f2e1568127c801890c250 X-VCS-Branch: master Date: Sat, 20 Mar 2021 09:02:17 +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: 3ae20c7f-c235-4d67-83fd-17a61d3a0b98 X-Archives-Hash: 08907870cec73598cdbde8fbefd7ff54 commit: 7c8e6574b9b46191467f2e1568127c801890c250 Author: Patrick Lauer gentoo org> AuthorDate: Sat Mar 20 09:01:54 2021 +0000 Commit: 罗百科 gentoo org> CommitDate: Sat Mar 20 09:01:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8e6574 dev-libs/ocl-icd: Bump to 2.2.14 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Patrick Lauer gentoo.org> dev-libs/ocl-icd/Manifest | 1 + dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild | 44 ++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-libs/ocl-icd/Manifest b/dev-libs/ocl-icd/Manifest index ae9b88a9d76..8b60ba9e2d3 100644 --- a/dev-libs/ocl-icd/Manifest +++ b/dev-libs/ocl-icd/Manifest @@ -1 +1,2 @@ DIST ocl-icd-2.2.12.tar.gz 80718 BLAKE2B 524f9eea9782323eafa2f41858c4970333c029898c651bbf15624331e184d1b439d2259532b02defd67c9ab434a35b1b9a64a28e1515b3f42f09b3a270975df7 SHA512 f1668c3a39ecfbc089ee5a5f61f44ceb86ab80e504e58064dec306ce907daf77936c5403b4af15ed8714068891d68346c86725f285cfbc90c4fcb35d18db4048 +DIST ocl-icd-2.2.14.tar.gz 100629 BLAKE2B 4862560541c979edb06d89f7f57b78a34c02e38843c02b0f125a121649cd6a33570e29c86fe7d3fd6f0fa3d489831777100daef97264e32b82854384075cbbf2 SHA512 78510b6fa4e2c6a52141a51ccf0d0ef3110b0b4902a43bb97f7622ff0ce470b108dc05c9619c28ce8758ccea1e1cf6b2e7f1a296f8b07f52532f23b2b036a5cf diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild new file mode 100644 index 00000000000..e5b4c9f2623 --- /dev/null +++ b/dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" +inherit autotools flag-o-matic multilib-minimal ruby-single + +DESCRIPTION="Alternative to vendor specific OpenCL ICD loaders" +HOMEPAGE="https://github.com/OCL-dev/ocl-icd" +SRC_URI="https://github.com/OCL-dev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Does nothing now but by keeping it here we avoid having to have virtual/opencl +# handle ebuilds both with and without this flag. +IUSE="+khronos-headers" + +BDEPEND="${RUBY_DEPS}" +DEPEND=">=dev-util/opencl-headers-2020.12.18" +RDEPEND="${DEPEND} + !app-eselect/eselect-opencl + !dev-libs/opencl-icd-loader" + +src_prepare() { + replace-flags -Os -O2 # bug 646122 + + default + eautoreconf +} + +multilib_src_configure() { + # dev-util/opencl-headers ARE official Khronos Group headers, what this option + # does is disable the use of the bundled ones + ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers +} + +multilib_src_install() { + default + + # Drop .la files + find "${ED}" -name '*.la' -delete || die +}