Enable image_support flag to fix the issues with hipMalloc3D,hipMallocPitch() (#23620)
This commit is contained in:
parent
98cf0f5e07
commit
8b25bdcf4d
1 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ class HsaRocrDev(CMakePackage):
|
|||
depends_on('hsakmt-roct@' + ver, type=('link', 'run'), when='@' + ver)
|
||||
for ver in ['3.7.0', '3.8.0', '3.9.0', '4.0.0', '4.1.0', 'master']:
|
||||
depends_on('llvm-amdgpu@' + ver, type=('link', 'run'), when='@' + ver)
|
||||
depends_on('rocm-device-libs@' + ver, type=('link', 'run'), when='@' + ver)
|
||||
|
||||
# Both 3.5.0 and 3.7.0 force INSTALL_RPATH in different ways
|
||||
patch('0001-Do-not-set-an-explicit-rpath-by-default-since-packag.patch', when='@3.5.0')
|
||||
|
@ -49,6 +50,6 @@ def cmake_args(self):
|
|||
args = ['-DLIBELF_INCLUDE_DIRS=%s' % libelf_include]
|
||||
|
||||
if '@3.7.0:' in self.spec:
|
||||
args.append('-DIMAGE_SUPPORT=OFF')
|
||||
args.append('-DIMAGE_SUPPORT=ON')
|
||||
|
||||
return args
|
||||
|
|
Loading…
Reference in a new issue