mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
opencl_headers, bump version (#11639)
This commit is contained in:
51
dev-util/opencl_headers/opencl_headers-2024_10_24.recipe
Normal file
51
dev-util/opencl_headers/opencl_headers-2024_10_24.recipe
Normal file
@@ -0,0 +1,51 @@
|
||||
SUMMARY="Open Computing Language header files"
|
||||
DESCRIPTION="opencl_headers™ (Open Computing Language) is the open, royalty-free \
|
||||
standard for cross-platform, parallel programming of diverse processors found \
|
||||
in personal computers, servers, mobile devices and embedded platforms. \
|
||||
opencl_headers greatly improves the speed and responsiveness of a wide spectrum of \
|
||||
applications in numerous market categories including gaming and \
|
||||
entertainment titles, scientific and medical software, professional creative \
|
||||
tools, vision processing, and neural network training and inferencing."
|
||||
HOMEPAGE="https://www.khronos.org/registry/OpenCL/"
|
||||
COPYRIGHT="2008-2022 The Khronos Group Inc."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v${portVersion//_/.}.tar.gz"
|
||||
SOURCE_DIR="OpenCL-Headers-${portVersion//_/.}"
|
||||
CHECKSUM_SHA256="159f2a550592bae49859fee83d372acd152328fdf95c0dcd8b9409f8fad5db93"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
opencl_headers$secondaryArchSuffix = $portVersion
|
||||
devel:libopencl_headers$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs
|
||||
|
||||
make -C build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
Reference in New Issue
Block a user