
* rocm-3.8.0 updates for hipblas,rocsolver,rocm-opencl
* rocm-3.8.0 updates to rocalution and rename and change rocmvalidationsuite
* rocm-3.8.0 update to miopen-hip
* Revert "rocm-3.8.0 updates for hipblas,rocsolver,rocm-opencl"
This reverts commit 2542e8b1be
.
* rocm-3.8.0 changes for rocsolver and hipblas
45 lines
1.7 KiB
Python
45 lines
1.7 KiB
Python
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class Rocsolver(CMakePackage):
|
|
"""rocSOLVER is a work-in-progress implementation of a
|
|
subset of LAPACK functionality on the ROCm platform."""
|
|
|
|
homepage = "https://github.com/ROCmSoftwarePlatform/rocSOLVER"
|
|
git = "https://github.com/ROCmSoftwarePlatform/rocSOLVER.git"
|
|
url = "https://github.com/ROCmSoftwarePlatform/rocSOLVER/archive/rocm-3.8.0.tar.gz"
|
|
|
|
maintainers = ['srekolam', 'arjun-raj-kuppala']
|
|
|
|
version('3.8.0', sha256='72aa74284944d8b454088e8c8d74cf05464a4e2e46d33a57017ddd009113025e')
|
|
version('3.7.0', sha256='8c1c630595952806e658c539fd0f3056bd45bafc22b57f0dd10141abefbe4595')
|
|
version('3.5.0', sha256='d655e8c762fb9e123b9fd7200b4258512ceef69973de4d0588c815bc666cb358')
|
|
|
|
depends_on('cmake@3:', type='build')
|
|
depends_on('numactl', type='link', when='@3.7.0:')
|
|
|
|
for ver in ['3.7.0', '3.8.0']:
|
|
depends_on('hsa-rocr-dev@' + ver, type='build', when='@' + ver)
|
|
|
|
for ver in ['3.5.0', '3.7.0', '3.8.0']:
|
|
depends_on('hip@' + ver, type='build', when='@' + ver)
|
|
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
|
|
depends_on('comgr@' + ver, type='build', when='@' + ver)
|
|
depends_on('rocblas@' + ver, type='link', when='@' + ver)
|
|
|
|
def cmake_args(self):
|
|
args = [
|
|
'-DBUILD_CLIENTS_SAMPLES=OFF',
|
|
'-DBUILD_CLIENTS_TESTS=OFF',
|
|
'-DBUILD_CLIENTS_BENCHMARKS=OFF'
|
|
]
|
|
return args
|
|
|
|
def setup_build_environment(self, env):
|
|
env.set('CXX', self.spec['hip'].hipcc)
|