update version for rocm-4.3.0 release (#25374)
This commit is contained in:
parent
66fc6940a0
commit
524d4e5071
@ -12,10 +12,11 @@ class Hipsparse(CMakePackage):
|
||||
|
||||
homepage = "https://github.com/ROCmSoftwarePlatform/hipSPARSE"
|
||||
git = "https://github.com/ROCmSoftwarePlatform/hipSPARSE.git"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-4.2.0.tar.gz"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-4.3.0.tar.gz"
|
||||
|
||||
maintainers = ['srekolam', 'arjun-raj-kuppala', 'haampie']
|
||||
|
||||
version('4.3.0', sha256='194fbd589ce34471f3255f71ea5fca2d27bee47a464558a86d0713b4d26237ea')
|
||||
version('4.2.0', sha256='cdedf3766c10200d3ebabe86cbb9c0fe6504e4b3317dccca289327d7c189bb3f')
|
||||
version('4.1.0', sha256='66710c390489922f0bd1ac38fd8c32fcfb5b7760b92c2d282f7d1abf214742ee')
|
||||
version('4.0.0', sha256='fc3736b2ea203209021616b2ffbcdd664781d692b07b8e8bb7f78b42dabbd5e5')
|
||||
@ -29,12 +30,12 @@ class Hipsparse(CMakePackage):
|
||||
depends_on('git', type='build')
|
||||
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0',
|
||||
'4.2.0']:
|
||||
'4.2.0', '4.3.0']:
|
||||
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
|
||||
depends_on('hip@' + ver, when='@' + ver)
|
||||
depends_on('rocsparse@' + ver, when='@' + ver)
|
||||
|
||||
for ver in ['3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0', '4.2.0']:
|
||||
for ver in ['3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0', '4.2.0', '4.3.0']:
|
||||
depends_on('rocprim@' + ver, when='@' + ver)
|
||||
|
||||
patch('e79985dccde22d826aceb3badfc643a3227979d2.patch', when='@3.5.0')
|
||||
|
@ -17,10 +17,11 @@ class Rocalution(CMakePackage):
|
||||
|
||||
homepage = "https://github.com/ROCmSoftwarePlatform/rocALUTION"
|
||||
git = "https://github.com/ROCmSoftwarePlatform/rocALUTION.git"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-4.2.0.tar.gz"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-4.3.0.tar.gz"
|
||||
|
||||
maintainers = ['srekolam', 'arjun-raj-kuppala']
|
||||
|
||||
version('4.3.0', sha256='f064b96f9f04cf22b89f95f72147fcfef28e2c56ecd764008c060f869c74c144')
|
||||
version('4.2.0', sha256='0424adf522ded41de5b77666e04464a25c73c92e34025762f30837f90a797445')
|
||||
version('4.1.0', sha256='3f61be18a02dff0c152a0ad7eb4779c43dd744b0ba172aa6a4267fc596d582e4')
|
||||
version('4.0.0', sha256='80a224a5c19dea290e6edc0e170c3dff2e726c2b3105d599ec6858cc66f076a9')
|
||||
@ -32,7 +33,7 @@ class Rocalution(CMakePackage):
|
||||
|
||||
depends_on('cmake@3.5:', type='build')
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0',
|
||||
'4.2.0']:
|
||||
'4.2.0', '4.3.0']:
|
||||
depends_on('hip@' + ver, when='@' + ver)
|
||||
depends_on('rocblas@' + ver, when='@' + ver)
|
||||
depends_on('rocprim@' + ver, when='@' + ver)
|
||||
@ -41,7 +42,7 @@ class Rocalution(CMakePackage):
|
||||
depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver)
|
||||
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
|
||||
|
||||
for ver in ['3.9.0', '3.10.0', '4.0.0', '4.1.0', '4.2.0']:
|
||||
for ver in ['3.9.0', '3.10.0', '4.0.0', '4.1.0', '4.2.0', '4.3.0']:
|
||||
depends_on('rocrand@' + ver, when='@' + ver)
|
||||
|
||||
patch('0001-fix-hip-build-error.patch')
|
||||
|
@ -11,11 +11,12 @@ class RocmClangOcl(CMakePackage):
|
||||
|
||||
homepage = "https://github.com/RadeonOpenCompute/clang-ocl"
|
||||
git = "https://github.com/RadeonOpenCompute/clang-ocl.git"
|
||||
url = "https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-4.2.0.tar.gz"
|
||||
url = "https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-4.3.0.tar.gz"
|
||||
|
||||
maintainers = ['srekolam', 'arjun-raj-kuppala']
|
||||
version('master', branch='master')
|
||||
|
||||
version('4.3.0', sha256='bc5650f2f105b10a1e22d8e5cc9464b0f960252a08e5e1fdee222af1fc5c022c')
|
||||
version('4.2.0', sha256='702796f4e31f6119173d915db9bee13c060a75d9eb5b1f8e3d20779d6702dfdc')
|
||||
version('4.1.0', sha256='c6e65da5541df9ee940caeeffe1b87c92547edc1770538fd2010c9c998a593b5')
|
||||
version('4.0.0', sha256='c8f9091396ee0096f6d7c1cd13d80532c424e838bec1e4cebf903ebaf649e82e')
|
||||
@ -30,7 +31,7 @@ class RocmClangOcl(CMakePackage):
|
||||
depends_on('cmake@3:', type='build')
|
||||
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0',
|
||||
'4.2.0', 'master']:
|
||||
'4.2.0', '4.3.0', 'master']:
|
||||
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
|
||||
depends_on('llvm-amdgpu@' + ver, when='@' + ver)
|
||||
|
||||
|
@ -15,10 +15,11 @@ class Rocsparse(CMakePackage):
|
||||
|
||||
homepage = "https://github.com/ROCmSoftwarePlatform/rocSPARSE"
|
||||
git = "https://github.com/ROCmSoftwarePlatform/rocSPARSE.git"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-4.2.0.tar.gz"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-4.3.0.tar.gz"
|
||||
|
||||
maintainers = ['srekolam', 'arjun-raj-kuppala']
|
||||
|
||||
version('4.3.0', sha256='1a8109bdc8863b3acfe991449360c9361cae7cabdbe753c553bc57872cd0ad5e')
|
||||
version('4.2.0', sha256='8a86ed49d278e234c82e406a1430dc28f50d416f8f1065cf5bdf25cc5721129c')
|
||||
version('4.1.0', sha256='7514968ed2342dc274acce8b269c128a6aa96cce769a37fd3880b5269c2ed17f')
|
||||
version('4.0.0', sha256='2b41bc6623d204ad7f351a902810f34cd32b762d1bf59081dbb00f83e689a794')
|
||||
@ -31,7 +32,7 @@ class Rocsparse(CMakePackage):
|
||||
depends_on('cmake@3:', type='build')
|
||||
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0', '4.1.0',
|
||||
'4.2.0']:
|
||||
'4.2.0', '4.3.0']:
|
||||
depends_on('hip@' + ver, when='@' + ver)
|
||||
depends_on('rocprim@' + ver, when='@' + ver)
|
||||
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
|
||||
@ -40,8 +41,11 @@ def setup_build_environment(self, env):
|
||||
env.set('CXX', self.spec['hip'].hipcc)
|
||||
|
||||
def cmake_args(self):
|
||||
args = []
|
||||
|
||||
args = [
|
||||
self.define('BUILD_CLIENTS_SAMPLES', 'OFF'),
|
||||
self.define('BUILD_CLIENTS_TESTS', 'OFF'),
|
||||
self.define('BUILD_CLIENTS_BENCHMARKS', 'OFF')
|
||||
]
|
||||
if self.spec.satisfies('^cmake@3.21:'):
|
||||
args.append(self.define('__skip_rocmclang', 'ON'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user