mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
52 lines
1.5 KiB
Bash
52 lines
1.5 KiB
Bash
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-2015 The Khronos Group Inc."
|
|
LICENSE="MIT"
|
|
REVISION="3"
|
|
srcGitRev="e986688daf750633898dfd3994e14a9e618f2aa5"
|
|
SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/$srcGitRev.zip"
|
|
SOURCE_DIR="OpenCL-Headers-$srcGitRev"
|
|
CHECKSUM_SHA256="264049db0538a017856b4a9a93f72180f677f095e4bcd806a9fd57e10b03f712"
|
|
|
|
ARCHITECTURES="x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
openclVersion="2.2"
|
|
openclVersionCompat="$openclVersion compat >= ${openclVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
opencl_headers${secondaryArchSuffix}_devel = $openclVersionCompat
|
|
devel:libopencl_headers$secondaryArchSuffix = $openclVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
CONFLICTS="
|
|
devel:libopencl_headers$secondaryArchSuffix >= 1
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
$REQUIRES
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
coreutils
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
:
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -d "$includeDir/CL"
|
|
install -t "$includeDir/CL" -m 644 opencl22/CL/*
|
|
}
|