OpenCL Headers: new recipe (#2474)

* OpenCL Headers: new recipe

* Rename
This commit is contained in:
miqlas
2018-04-26 06:09:36 +02:00
committed by GitHub
parent e25f93cbe1
commit 777350fa7c
2 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
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/opencl_headers/"
COPYRIGHT="2008-2015 The Khronos Group Inc."
LICENSE="MIT"
REVISION="1"
gitRevision="e986688daf750633898dfd3994e14a9e618f2aa5"
SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/$gitRevision.zip"
SOURCE_DIR="OpenCL-Headers-$gitRevision"
CHECKSUM_SHA256="264049db0538a017856b4a9a93f72180f677f095e4bcd806a9fd57e10b03f712"
ARCHITECTURES="x86 x86_64"
openclVersion="1.2"
openclVersionCompat="$openclVersion compat >= ${openclVersion%%.*}"
PROVIDES="
opencl_headers_devel = $openclVersionCompat
devel:libopencl_headers = $openclVersionCompat
"
REQUIRES="
haiku
"
CONFLICTS="
devel:libopencl_headers >= 2
"
BUILD_REQUIRES="
$REQUIRES
"
BUILD_PREREQUIRES="
coreutils
"
BUILD()
{
:
}
INSTALL()
{
install -d "$includeDir/CL"
install -t "$includeDir/CL" -m 644 opencl12/CL/*
}

View File

@@ -0,0 +1,50 @@
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/opencl_headers/"
COPYRIGHT="2008-2015 The Khronos Group Inc."
LICENSE="MIT"
REVISION="1"
gitRevision="e986688daf750633898dfd3994e14a9e618f2aa5"
SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/$gitRevision.zip"
SOURCE_DIR="OpenCL-Headers-$gitRevision"
CHECKSUM_SHA256="264049db0538a017856b4a9a93f72180f677f095e4bcd806a9fd57e10b03f712"
ARCHITECTURES="x86 x86_64"
openclVersion="2.2"
openclVersionCompat="$openclVersion compat >= ${openclVersion%%.*}"
PROVIDES="
opencl_headers_devel = $openclVersionCompat
devel:libopencl_headers = $openclVersionCompat
"
REQUIRES="
haiku
"
CONFLICTS="
devel:libopencl_headers >= 1
"
BUILD_REQUIRES="
$REQUIRES
"
BUILD_PREREQUIRES="
coreutils
"
BUILD()
{
:
}
INSTALL()
{
install -d "$includeDir/CL"
install -t "$includeDir/CL" -m 644 opencl22/CL/*
}