27 lines
898 B
Python
27 lines
898 B
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 RocmCmake(CMakePackage):
|
||
|
"""ROCM cmake modules provides cmake modules for common build tasks
|
||
|
needed for the ROCM software stack"""
|
||
|
|
||
|
homepage = "https://github.com/RadeonOpenCompute/rocm-cmake"
|
||
|
url = "https://github.com/RadeonOpenCompute/rocm-cmake/archive/rocm-3.5.0.tar.gz"
|
||
|
|
||
|
maintainers = ['srekolam', 'arjun-raj-kuppala']
|
||
|
|
||
|
version('3.5.0', sha256='5fc09e168879823160f5fdf4fd1ace2702d36545bf733e8005ed4ca18c3e910f')
|
||
|
|
||
|
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
|
||
|
|
||
|
depends_on('cmake@3:', type='build')
|
||
|
|
||
|
def cmake_args(self):
|
||
|
return ['-DROCM_DISABLE_LDCONFIG=ON']
|