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.04.17.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 7afc1c30f387..3268a0dc27d2 100644 --- a/dev-libs/opencl-icd-loader/Manifest +++ b/dev-libs/opencl-icd-loader/Manifest @@ -1,3 +1,5 @@ DIST opencl-icd-loader-2023.02.06.tar.gz 92484 BLAKE2B f86264a57533e67816711dba86e4f34920d5b1a605a6c0fdb01314b09eb9ced2022b1d25a88dfff58356ec8cdcf8ff8b1c857d49ddf196a4506e4e3420e3ace3 SHA512 e418b8f3cccb4716ed44acd0677afb96705f8b40a7714d483f1efe1a9b835f4a823c5a80f8457e72c8004f76d8a07c45d9cca55b699dd2fdaa6fe9f8cc863cbd +DIST opencl-icd-loader-2023.04.17.tar.gz 93179 BLAKE2B 056213043095029cdc721d87fc9fb5023f6c593e975b4b069037c8db278317e68517227d2ccea444469baf15412e435de3dd8418f1d010c72a6c1dc252742b87 SHA512 55d1f5ac62da1294bfe4814f2370db0a11636f18afa7da06f04b84b9c1e6ef546846420d27094aaa838eb6cc87197cf6e120a38af0b7ce71297be646a58ecb7b EBUILD opencl-icd-loader-2023.02.06.ebuild 863 BLAKE2B 4753c9590b0bcc6dd766ad9f1a4007da39328bcbad008ffcc048a41c088b9eda025d5b989f54efb4e9ea7ad9d8bcffd58ee28548b91049d624b35196e107ff50 SHA512 9838eb2a798545ca1993ba44be5817443781fa9828308bcf1d302ce72fb1430a3557b0a6dfcde5c610632f0fc0f9b9df952254768d25583a73920ed07477b6b1 +EBUILD opencl-icd-loader-2023.04.17.ebuild 877 BLAKE2B cf753a7d0ce17d1c45aa980af9e565ce0134e34815c410a2845b42f9b707e6beaeda6541dd56b8617f78cf17bdec496ec62160726f2974511ad7004c17fef994 SHA512 0bc37de4d0a6b341aa810da46b3f060a781c7b8c924bb6f25996a900b58e6aa5076a2ee9d7a3b2eb63fea8a8ce60f2157d6c6fd87dbb95840053ea6e06b47e36 MISC metadata.xml 341 BLAKE2B b49a18b36fbbf0c978ad2445ee4688f32cafd66001f04e02256a420b9dd1e808f85c32e43adb15e5814957f5273a135f82c5fdfe37baf7e6fa73abe2c8fcd990 SHA512 5dcf111b1e5ec3e7532258ed2e29946cab993051193bec1413096b52148117c935b028e071c501863620c4a51e81aee333b9e4375caa14fdab3701524da99268 diff --git a/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.ebuild b/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.ebuild new file mode 100644 index 000000000000..744236b024f1 --- /dev/null +++ b/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.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 multibuild + +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 ~riscv ~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 +} |