opencl_headers: bump to 3.0 (#6271)

This commit is contained in:
kenmays
2021-10-14 11:45:13 -07:00
committed by GitHub
parent b48f4ba584
commit f89a7dcc39
2 changed files with 6 additions and 78 deletions

View File

@@ -1,51 +0,0 @@
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="all"
SECONDARY_ARCHITECTURES="x86"
openclVersion="1.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 opencl12/CL/*
}

View File

@@ -7,42 +7,21 @@ 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-2020 The Khronos Group Inc."
COPYRIGHT="2008-2021 The Khronos Group Inc."
LICENSE="MIT"
REVISION="1"
srcGitRev="b04034a17e214322772c19e7ccd2adf0cd306920"
srcGitRev="1aa1139b58a515877a923cce6b254e09d1b2fb2c"
SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/$srcGitRev.zip"
SOURCE_DIR="OpenCL-Headers-$srcGitRev"
CHECKSUM_SHA256="d04da7ee526bcc5d078a6e152e2e8f6f48b71c437a67ed97c2379f72e97e0f31"
CHECKSUM_SHA256="f1cb377254246c82c6d523d36b2c8c85f8fcc73fe8735146a4995e6f5c76caec"
ARCHITECTURES="all"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
openclVersion="2.2"
openclVersionCompat="$openclVersion compat >= ${openclVersion%%.*}"
PROVIDES="
opencl_headers${secondaryArchSuffix} = $openclVersionCompat
devel:libopencl_headers$secondaryArchSuffix = $openclVersionCompat
opencl_headers$secondaryArchSuffix = $portVersion
devel:opencl_headers$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
CONFLICTS="
devel:libopencl_headers$secondaryArchSuffix >= 1
"
BUILD_REQUIRES="
$REQUIRES
"
BUILD_PREREQUIRES="
coreutils
"
BUILD()
{
:
}
INSTALL()
{