
* opencl-c-headers: add new version 2020.12.18 * opencl-clhpp: add new version 2.0.13 * opencl-headers: now supports OpenCL 3.0 with new versions of opencl-c-headers and opencl-clhpp * ocl-icd: add new version 2.2.14 add now can provide OpenCL 3.0
25 lines
743 B
Python
25 lines
743 B
Python
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
|
from spack import *
|
|
|
|
|
|
class OpenclHeaders(BundlePackage):
|
|
"""Bundled OpenCL (Open Computing Language) header files"""
|
|
|
|
homepage = "https://www.khronos.org/registry/OpenCL/"
|
|
|
|
version('3.0')
|
|
version('2.2')
|
|
version('2.1')
|
|
version('2.0')
|
|
|
|
depends_on('opencl-c-headers@2020.12.18:', when='@3.0:')
|
|
depends_on('opencl-c-headers@2020.03.13:', when='@2.0:2.2')
|
|
depends_on('opencl-clhpp@2.0.13:', when='@3.0:')
|
|
depends_on('opencl-clhpp@2.0.11:', when='@2.1:2.2')
|
|
depends_on('opencl-clhpp@2.0.9:', when='@2.0')
|