pocl: Introduce virtual package “opencl” (#3461)

OpenCL is a standard like MPI, with several versions and several implementations.
This commit is contained in:
Erik Schnetter 2017-03-16 10:47:46 -04:00 committed by Adam J. Stewart
parent d6a7000aee
commit a609d22b95

View File

@ -49,6 +49,10 @@ class Pocl(CMakePackage):
patch("uint.patch", when="@:0.13") patch("uint.patch", when="@:0.13")
patch("vecmathlib.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("cmake @2.8.12:", type="build")
depends_on("hwloc") depends_on("hwloc")
depends_on("libtool", type=("build", "run")) depends_on("libtool", type=("build", "run"))