summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2017-03-16 10:47:46 -0400
committerAdam J. Stewart <ajstewart426@gmail.com>2017-03-16 09:47:46 -0500
commita609d22b95fcdb1cd6a9da923735944b554f1417 (patch)
treedd9f670e70b008fb218581742688bfb9f8d1a67f /var
parentd6a7000aee1613564bdacab31bdb45236eb73ce6 (diff)
downloadspack-a609d22b95fcdb1cd6a9da923735944b554f1417.tar.gz
spack-a609d22b95fcdb1cd6a9da923735944b554f1417.tar.bz2
spack-a609d22b95fcdb1cd6a9da923735944b554f1417.tar.xz
spack-a609d22b95fcdb1cd6a9da923735944b554f1417.zip
pocl: Introduce virtual package “opencl” (#3461)
OpenCL is a standard like MPI, with several versions and several implementations.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pocl/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pocl/package.py b/var/spack/repos/builtin/packages/pocl/package.py
index 573b81131c..243b4cbf66 100644
--- a/var/spack/repos/builtin/packages/pocl/package.py
+++ b/var/spack/repos/builtin/packages/pocl/package.py
@@ -49,6 +49,10 @@ class Pocl(CMakePackage):
patch("uint.patch", when="@:0.13")
patch("vecmathlib.patch", when="@:0.13")
+ # Note: We should describe correctly which pocl versions provide
+ # what OpenCL version
+ provides('opencl@:2.0')
+
depends_on("cmake @2.8.12:", type="build")
depends_on("hwloc")
depends_on("libtool", type=("build", "run"))