Hipify clang with AMD rocm 3.7.0 update (#18672)

* Hipify clang with rocm 3.7.0 update

* Update var/spack/repos/builtin/packages/hipify-clang/package.py

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
arjun-raj-kuppala 2020-09-16 20:18:48 -07:00 committed by GitHub
parent 9a5f043ce6
commit 7fb83047fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,5 +20,6 @@ class HipifyClang(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
depends_on('cmake@3.5.1:', type='build', when='@3.5:')
depends_on('llvm-amdgpu@3.5:', when='@3.5:')
depends_on('cmake@3.5.1:', type='build')
for ver in ['3.5.0', '3.7.0']:
depends_on('llvm-amdgpu@' + ver, when='@' + ver)