summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorlorddavidiii <maximillian.bensch@aei.mpg.de>2021-06-28 10:13:24 +0200
committerGitHub <noreply@github.com>2021-06-28 02:13:24 -0600
commit2bd2ef27a25356663459fee3e691cde33e20cc3a (patch)
tree6605f9b6b2dc34be755096ab4b83c764af2b9e41 /var
parenta4a393d097b2f7395511b1c20de415913b919bab (diff)
downloadspack-2bd2ef27a25356663459fee3e691cde33e20cc3a.tar.gz
spack-2bd2ef27a25356663459fee3e691cde33e20cc3a.tar.bz2
spack-2bd2ef27a25356663459fee3e691cde33e20cc3a.tar.xz
spack-2bd2ef27a25356663459fee3e691cde33e20cc3a.zip
ocl-icd, opencl-c-headers and opencl-clhpp: add new versions (#24499)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ocl-icd/package.py6
-rw-r--r--var/spack/repos/builtin/packages/opencl-c-headers/package.py1
-rw-r--r--var/spack/repos/builtin/packages/opencl-clhpp/package.py1
3 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ocl-icd/package.py b/var/spack/repos/builtin/packages/ocl-icd/package.py
index e12d2546b6..501baf9e51 100644
--- a/var/spack/repos/builtin/packages/ocl-icd/package.py
+++ b/var/spack/repos/builtin/packages/ocl-icd/package.py
@@ -13,6 +13,7 @@ OpenCL ICD loaders."""
homepage = "https://github.com/OCL-dev/ocl-icd"
url = "https://github.com/OCL-dev/ocl-icd/archive/v2.2.12.tar.gz"
+ version('2.3.0', sha256='469f592ccd9b0547fb7212b17e1553b203d178634c20d3416640c0209e3ddd50')
version('2.2.14', sha256='46df23608605ad548e80b11f4ba0e590cef6397a079d2f19adf707a7c2fbfe1b')
version('2.2.13', sha256='f85d59f3e8327f15637b91e4ae8df0829e94daeff68c647b2927b8376b1f8d92')
version('2.2.12', sha256='17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272')
@@ -42,6 +43,11 @@ OpenCL ICD loaders."""
provides('opencl@:2.1', when='@2.2.8:2.2.11+headers')
provides('opencl@:2.0', when='@2.2.3:2.2.7+headers')
+ # upstream patch to fix compatibility with the latest version of the
+ # official khronos OpenCL C headers release, ie opencl-c-headers@2021.04.29
+ patch('https://github.com/OCL-dev/ocl-icd/commit/aed1832c81c0971ea001e12d41e04df834257f94.patch',
+ sha256='c6bb2813e2a59ac9b79b86d7f421c3e6446c0f9d8a4c850e5641fb7273ab3b43', when='@2.3.0')
+
def flag_handler(self, name, flags):
if name == 'cflags' and self.spec.satisfies('@:2.2.12'):
# https://github.com/OCL-dev/ocl-icd/issues/8
diff --git a/var/spack/repos/builtin/packages/opencl-c-headers/package.py b/var/spack/repos/builtin/packages/opencl-c-headers/package.py
index e5b9aa826e..c1cdb8c3ad 100644
--- a/var/spack/repos/builtin/packages/opencl-c-headers/package.py
+++ b/var/spack/repos/builtin/packages/opencl-c-headers/package.py
@@ -14,6 +14,7 @@ class OpenclCHeaders(Package):
homepage = "https://www.khronos.org/registry/OpenCL/"
url = "https://github.com/KhronosGroup/OpenCL-Headers/archive/v2020.06.16.tar.gz"
+ version('2021.04.29', sha256='477e2b26125d99a9b2f20c68262f27ca3f3ca7899593a8af2b7fe077bdce18d1')
version('2020.12.18', sha256='5dad6d436c0d7646ef62a39ef6cd1f3eba0a98fc9157808dfc1d808f3705ebc2')
version('2020.06.16', sha256='2f5a60e5ac4b127650618c58a7e3b35a84dbf23c1a0ac72eb5e7baf221600e06')
version('2020.03.13', sha256='664bbe587e5a0a00aac267f645b7c413586e7bc56dca9ff3b00037050d06f476')
diff --git a/var/spack/repos/builtin/packages/opencl-clhpp/package.py b/var/spack/repos/builtin/packages/opencl-clhpp/package.py
index 564e4e2c12..4d662ca057 100644
--- a/var/spack/repos/builtin/packages/opencl-clhpp/package.py
+++ b/var/spack/repos/builtin/packages/opencl-clhpp/package.py
@@ -14,6 +14,7 @@ class OpenclClhpp(CMakePackage):
homepage = "https://www.khronos.org/registry/OpenCL/"
url = "https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v2.0.12.tar.gz"
+ version('2.0.14', sha256='c8821a7638e57a2c4052631c941af720b581edda634db6ab0b59924c958d69b6')
version('2.0.13', sha256='8ff0d0cd94d728edd30c876db546bf13e370ee7863629b4b9b5e2ef8e130d23c')
version('2.0.12', sha256='20b28709ce74d3602f1a946d78a2024c1f6b0ef51358b9686612669897a58719')
version('2.0.11', sha256='ffc2ca08cf4ae90ee55f14ea3735ccc388f454f4422b69498b2e9b93a1d45181')