diff options
Diffstat (limited to 'dev-libs/opencl-icd-loader')
-rw-r--r-- | dev-libs/opencl-icd-loader/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/opencl-icd-loader/opencl-icd-loader-2023.02.06.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/opencl-icd-loader/Manifest b/dev-libs/opencl-icd-loader/Manifest index da0003016e7f..d0fa75723731 100644 --- a/dev-libs/opencl-icd-loader/Manifest +++ b/dev-libs/opencl-icd-loader/Manifest @@ -1,3 +1,5 @@ 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 EBUILD opencl-icd-loader-2022.09.30.ebuild 856 BLAKE2B 8bb3eb90e665678e6a13d08fc2ed9553fdc2d7f08f915da342b02f435074408d3934fb29cc4da4bf5929d75f445fa8c0b8d9cc5d109e09a7cee98452a08468e5 SHA512 debc5c067ba27e3da735ddd6eaf4abcd5db5dc864ab2299c3b9aecaf78cd3abf4926a361bc8fb0e139394f7795675af0d4fbf8220c2041b5c32a512467ed5407 +EBUILD opencl-icd-loader-2023.02.06.ebuild 859 BLAKE2B b316ce715f99d00fc86d52211afb73e8320121f811294962f8a1362617a0838ed696bd2f1d967bf2c74891322acca40d2a69ac0c63f2270693073a0f522df4c5 SHA512 9b18f4658ccec156ee906ed0378677ddd0a732c0ed8105c0a5e0bb1e6bd87628dc3ab89fa91e85493c1b8eff3480806b86a5a5c456683c97e0f7285a98950577 MISC metadata.xml 341 BLAKE2B b49a18b36fbbf0c978ad2445ee4688f32cafd66001f04e02256a420b9dd1e808f85c32e43adb15e5814957f5273a135f82c5fdfe37baf7e6fa73abe2c8fcd990 SHA512 5dcf111b1e5ec3e7532258ed2e29946cab993051193bec1413096b52148117c935b028e071c501863620c4a51e81aee333b9e4375caa14fdab3701524da99268 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 +} |