Added dependency on hipify-clang and fixed hipify-clang package (#30576)
This commit is contained in:
parent
00e9780136
commit
4d84c774d1
@ -40,3 +40,8 @@ class HipifyClang(CMakePackage):
|
||||
'4.2.0', '4.3.0', '4.3.1', '4.5.0', '4.5.2', '5.0.0', '5.0.2',
|
||||
'5.1.0', 'master']:
|
||||
depends_on('llvm-amdgpu@' + ver, when='@' + ver)
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
# The installer puts the binaries directly into the prefix
|
||||
# instead of prefix/bin, so add prefix to the PATH
|
||||
env.prepend_path('PATH', self.spec.prefix)
|
||||
|
@ -46,6 +46,7 @@ class Slate(CMakePackage, CudaPackage, ROCmPackage):
|
||||
depends_on('lapackpp@2020.10.02', when='@2020.10.00')
|
||||
depends_on('lapackpp@master', when='@master')
|
||||
depends_on('scalapack')
|
||||
depends_on('hipify-clang', when='+rocm ^hip@5:')
|
||||
|
||||
cpp_17_msg = 'Requires C++17 compiler support'
|
||||
conflicts('%gcc@:5', msg=cpp_17_msg)
|
||||
|
Loading…
Reference in New Issue
Block a user