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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6924315802F for ; Fri, 24 Feb 2023 22:07:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82548E08F3; Fri, 24 Feb 2023 22:07:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67DD8E08F3 for ; Fri, 24 Feb 2023 22:07:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B4E0340ECC for ; Fri, 24 Feb 2023 22:07:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3B778BB for ; Fri, 24 Feb 2023 22:07:52 +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: <1677276465.969805a6e3b6d135eec84e8c6cb827db0c3115f6.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-icd-loader/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/opencl-icd-loader/Manifest dev-libs/opencl-icd-loader/opencl-icd-loader-2023.02.06.ebuild X-VCS-Directories: dev-libs/opencl-icd-loader/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 969805a6e3b6d135eec84e8c6cb827db0c3115f6 X-VCS-Branch: master Date: Fri, 24 Feb 2023 22:07:52 +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: 1e8ae156-7993-4183-98c6-eb4b1374a790 X-Archives-Hash: b9ab9bde16200e24eb5a165ac41593af commit: 969805a6e3b6d135eec84e8c6cb827db0c3115f6 Author: Marek Szuba gentoo org> AuthorDate: Fri Feb 24 22:06:36 2023 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Feb 24 22:07:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=969805a6 dev-libs/opencl-icd-loader: add 2023.02.06 Signed-off-by: Marek Szuba gentoo.org> dev-libs/opencl-icd-loader/Manifest | 1 + .../opencl-icd-loader-2023.02.06.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-libs/opencl-icd-loader/Manifest b/dev-libs/opencl-icd-loader/Manifest index b274b47fa96d..31d8fb2ff039 100644 --- a/dev-libs/opencl-icd-loader/Manifest +++ b/dev-libs/opencl-icd-loader/Manifest @@ -1 +1,2 @@ DIST opencl-icd-loader-2022.09.30.tar.gz 87782 BLAKE2B 78d4c19d71c212dbe43a22d9e9504f9d22c3c5b5d078b9aa5625462c5591b87fdd472532d80e594b2a4e7dca1f10a5093bd4dbe661a23c3dbe254868b07e7b40 SHA512 0e7161f61c58f4d05f2a5f611560da1e57dfcc95184d25676cdc19f6e2136eca11cad4a87c769f2bff416928efa168220300749dc7607151a0e34a6c1b751295 +DIST opencl-icd-loader-2023.02.06.tar.gz 92484 BLAKE2B f86264a57533e67816711dba86e4f34920d5b1a605a6c0fdb01314b09eb9ced2022b1d25a88dfff58356ec8cdcf8ff8b1c857d49ddf196a4506e4e3420e3ace3 SHA512 e418b8f3cccb4716ed44acd0677afb96705f8b40a7714d483f1efe1a9b835f4a823c5a80f8457e72c8004f76d8a07c45d9cca55b699dd2fdaa6fe9f8cc863cbd diff --git a/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.02.06.ebuild b/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.02.06.ebuild new file mode 100644 index 000000000000..539868d8a384 --- /dev/null +++ b/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.02.06.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +MY_PN="OpenCL-ICD-Loader" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Official Khronos OpenCL ICD Loader" +HOMEPAGE="https://github.com/KhronosGroup/OpenCL-ICD-Loader" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND="!dev-libs/ocl-icd" +DEPEND="${RDEPEND} + >=dev-util/opencl-headers-${PV}" + +S="${WORKDIR}/${MY_P}" + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + local -x OCL_ICD_FILENAMES="${BUILD_DIR}/test/driver_stub/libOpenCLDriverStub.so" + local -x OCL_ICD_VENDORS="/dev/null" + cmake_src_test +}