rdc: add v4.2.0 (#23829)

This commit is contained in:
arjun-raj-kuppala 2021-05-20 23:57:40 -07:00 committed by GitHub
parent 1242f10d11
commit b8fc1094ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ class Rdc(CMakePackage):
"""ROCm Data Center Tool""" """ROCm Data Center Tool"""
homepage = "https://github.com/RadeonOpenCompute/rdc" homepage = "https://github.com/RadeonOpenCompute/rdc"
url = "https://github.com/RadeonOpenCompute/rdc/archive/rocm-3.8.0.tar.gz" url = "https://github.com/RadeonOpenCompute/rdc/archive/rocm-4.2.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala'] maintainers = ['srekolam', 'arjun-raj-kuppala']
@ -22,18 +22,19 @@ def url_for_version(self, version):
url = "https://github.com/RadeonOpenCompute/rdc/archive/rocm-{0}.tar.gz" url = "https://github.com/RadeonOpenCompute/rdc/archive/rocm-{0}.tar.gz"
return url.format(version) return url.format(version)
version('4.2.0', sha256='ea2c7c07d55f607968f58d7e30326cae5db5b48c1ba354caa5727394d5bad258')
version('4.1.0', sha256='dc81ee9727c8913c05dcf20a00669ce611339ef6d6db8af34e57f42bcfa804ac') version('4.1.0', sha256='dc81ee9727c8913c05dcf20a00669ce611339ef6d6db8af34e57f42bcfa804ac')
version('4.0.0', sha256='e9ebfc46dfa983400909ed8a9da4fa37869ab118a8426c2e4f793e21174ca07f') version('4.0.0', sha256='e9ebfc46dfa983400909ed8a9da4fa37869ab118a8426c2e4f793e21174ca07f')
version('3.10.0', sha256='fdc51f9f1f756406d1e2ffaeee0e247d1b04fc4078f08e581bbaa7da79697ac1') version('3.10.0', sha256='fdc51f9f1f756406d1e2ffaeee0e247d1b04fc4078f08e581bbaa7da79697ac1')
version('3.9.0', sha256='bc6339e7f41850a4a049d085a880cfafd3fd8e1610fb94c572d79753d01aa298') version('3.9.0', sha256='bc6339e7f41850a4a049d085a880cfafd3fd8e1610fb94c572d79753d01aa298')
version('3.8.0', sha256='d0d0a0e68a848b7a8fa2d88c1d0352ce68e1e142debf32c31d941904f03c4b2f') version('3.8.0', sha256='d0d0a0e68a848b7a8fa2d88c1d0352ce68e1e142debf32c31d941904f03c4b2f')
depends_on('cmake@3.15:', type='build') depends_on('cmake@3.15:3.19.7', type='build')
depends_on('grpc@1.28.1+shared', type='build') depends_on('grpc@1.28.1+shared', type='build')
depends_on('protobuf', type=('build', 'link')) depends_on('protobuf', type=('build', 'link'))
depends_on('libcap', type=('build', 'link')) depends_on('libcap', type=('build', 'link'))
for ver in ['3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0']: for ver in ['3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0', '4.2.0']:
depends_on('rocm-smi-lib@' + ver, type=('build', 'link'), when='@' + ver) depends_on('rocm-smi-lib@' + ver, type=('build', 'link'), when='@' + ver)
def patch(self): def patch(self):