add MIOPEN_AMDGCN_ASSEMBLER to cmake args (#25159)
This commit is contained in:
parent
55e218649a
commit
437c1e438e
@ -67,6 +67,10 @@ def cmake_args(self):
|
||||
'CMAKE_CXX_COMPILER',
|
||||
'{0}/bin/clang++'.format(spec['llvm-amdgpu'].prefix)
|
||||
),
|
||||
self.define(
|
||||
'MIOPEN_AMDGCN_ASSEMBLER',
|
||||
'{0}/bin/clang'.format(spec['llvm-amdgpu'].prefix)
|
||||
),
|
||||
self.define('Boost_USE_STATIC_LIBS', 'Off'),
|
||||
self.define('HIP_PREFIX_PATH', spec['hip'].prefix),
|
||||
self.define('DEVICELIBS_PREFIX_PATH', self.get_bitcode_dir())
|
||||
|
@ -59,6 +59,10 @@ def cmake_args(self):
|
||||
'HIP_CXX_COMPILER',
|
||||
'{0}/bin/clang++'.format(self.spec['llvm-amdgpu'].prefix)
|
||||
),
|
||||
self.define(
|
||||
'MIOPEN_AMDGCN_ASSEMBLER',
|
||||
'{0}/bin/clang'.format(self.spec['llvm-amdgpu'].prefix)
|
||||
),
|
||||
self.define('Boost_USE_STATIC_LIBS', 'Off')
|
||||
]
|
||||
return args
|
||||
|
@ -41,6 +41,10 @@ def patch(self):
|
||||
self.spec['rocm-opencl'].prefix,
|
||||
'amd_openvx/cmake/FindOpenCL.cmake',
|
||||
string=True)
|
||||
filter_file('/opt/rocm/mivisionx/include',
|
||||
self.spec['mivisionx'].prefix.include,
|
||||
'utilities/mv_deploy/CMakeLists.txt',
|
||||
string=True)
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
spec = self.spec
|
||||
|
Loading…
Reference in New Issue
Block a user