From 084ccdf0a04a8cb07c531d7469ee52cf9e3a1bbf Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 5 Nov 2023 10:58:38 +0300 Subject: [PATCH] opencl-icd-2.3.2 --- x11/misc/opencl-icd/actions.py | 21 +++++++++++++++------ x11/misc/opencl-icd/pspec.xml | 22 ++++++++++++---------- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/x11/misc/opencl-icd/actions.py b/x11/misc/opencl-icd/actions.py index 5a91e483ed..27168204c3 100644 --- a/x11/misc/opencl-icd/actions.py +++ b/x11/misc/opencl-icd/actions.py @@ -18,15 +18,24 @@ def setup(): autotools.configure() - shelltools.cd("OpenCL-Headers-2021.06.30") - cmaketools.configure("-DCMAKE_BUILD_TYPE=Release") + shelltools.cd("OpenCL-Headers-2023.04.17") + cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_DATADIR=/usr/lib") - shelltools.cd("../OpenCL-CLHPP-2.0.15") - cmaketools.configure("-DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF") + shelltools.cd("../OpenCL-CLHPP-2023.04.17") + cmaketools.configure("-DBUILD_EXAMPLES=OFF \ + -DCMAKE_INSTALL_DATADIR=/usr/lib \ + -DBUILD_TESTING=OFF") def build(): autotools.make() + shelltools.cd("OpenCL-Headers-2023.04.17") + cmaketools.make() + + shelltools.cd("../OpenCL-CLHPP-2023.04.17") + cmaketools.make() + def check(): autotools.make("check") @@ -34,8 +43,8 @@ def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("NEWS") - shelltools.cd("OpenCL-Headers-2021.06.30") + shelltools.cd("OpenCL-Headers-2023.04.17") cmaketools.install() - shelltools.cd("../OpenCL-CLHPP-2.0.15") + shelltools.cd("../OpenCL-CLHPP-2023.04.17") cmaketools.install() diff --git a/x11/misc/opencl-icd/pspec.xml b/x11/misc/opencl-icd/pspec.xml index 04470d882b..caf4fe16a5 100644 --- a/x11/misc/opencl-icd/pspec.xml +++ b/x11/misc/opencl-icd/pspec.xml @@ -13,15 +13,9 @@ library OpenCL ICD loader library OpenCL is a royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. - - https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v2.3.1.tar.gz - - - https://github.com/KhronosGroup/OpenCL-CLHPP/archive/refs/tags/v2.0.15.tar.gz - - - https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v2021.06.30.tar.gz - + https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v2.3.2.tar.gz + https://github.com/KhronosGroup/OpenCL-CLHPP/archive/refs/tags/v2023.04.17.tar.gz + https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v2023.04.17.tar.gz cmake ruby @@ -33,6 +27,7 @@ opencl-icd + /usr/bin /usr/lib /usr/share/man /usr/share/doc @@ -60,7 +55,14 @@ - + + + 2023-11-05 + 2.3.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2023-01-02 2.3.1