diff options
-rw-r--r-- | var/spack/repos/builtin/packages/pocl/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pocl/package.py b/var/spack/repos/builtin/packages/pocl/package.py index da707344f5..121b240e28 100644 --- a/var/spack/repos/builtin/packages/pocl/package.py +++ b/var/spack/repos/builtin/packages/pocl/package.py @@ -71,6 +71,8 @@ class Pocl(CMakePackage): variant("icd", default=False, description="Support a system-wide ICD loader") + depends_on('ocl-icd', when='+icd') + def url_for_version(self, version): if version >= Version('1.0'): url = "https://github.com/pocl/pocl/archive/v{0}.tar.gz" |