add dependency for icd variant, or else build fails (#17079)
Co-authored-by: Sinan81 <Sinan81@github>
This commit is contained in:
parent
58332d028e
commit
59e4caad1d
@ -71,6 +71,8 @@ class Pocl(CMakePackage):
|
|||||||
variant("icd", default=False,
|
variant("icd", default=False,
|
||||||
description="Support a system-wide ICD loader")
|
description="Support a system-wide ICD loader")
|
||||||
|
|
||||||
|
depends_on('ocl-icd', when='+icd')
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
if version >= Version('1.0'):
|
if version >= Version('1.0'):
|
||||||
url = "https://github.com/pocl/pocl/archive/v{0}.tar.gz"
|
url = "https://github.com/pocl/pocl/archive/v{0}.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user