summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorCory Bloor <Cordell.Bloor@amd.com>2022-03-31 19:34:11 -0600
committerGitHub <noreply@github.com>2022-03-31 19:34:11 -0600
commit9a977cb6944e1ae92fa99f84e0c46fffe65eb497 (patch)
tree999c127082a4bb2c703ed669faab935233dcfbaf /var
parent88b1bf751d76e010584b251f482cdfb0ba5351a1 (diff)
downloadspack-9a977cb6944e1ae92fa99f84e0c46fffe65eb497.tar.gz
spack-9a977cb6944e1ae92fa99f84e0c46fffe65eb497.tar.bz2
spack-9a977cb6944e1ae92fa99f84e0c46fffe65eb497.tar.xz
spack-9a977cb6944e1ae92fa99f84e0c46fffe65eb497.zip
rocm-cmake: remove ldconfig variant (#29508)
* rocm-cmake: remove ldconfig variant The packages built for `rocm-cmake~ldconfig` and `rocm-cmake+ldconfig` are identical, so the variant is unnecessary. The `ROCM_DISABLE_LDCONFIG` option changes how `rocm_create_package` generates DEB and RPM packages with CPack. rocm-cmake itself uses `rocm_create_package`, however, this option is has no effect because Spack does not build the CPack packages. It is also unnecessary on rocm-cmake, because rocm-cmake does not contain any shared libraries for ldconfig to configure. The rocm-cmake package is purely composed of CMake scripts. * Tighten CMake version dependency * Improve package description
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/rocm-cmake/package.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/rocm-cmake/package.py b/var/spack/repos/builtin/packages/rocm-cmake/package.py
index 336ef8ca4a..44d4ed3abe 100644
--- a/var/spack/repos/builtin/packages/rocm-cmake/package.py
+++ b/var/spack/repos/builtin/packages/rocm-cmake/package.py
@@ -8,8 +8,8 @@ from spack import *
class RocmCmake(CMakePackage):
- """ROCM cmake modules provides cmake modules for common build tasks
- needed for the ROCM software stack"""
+ """rocm-cmake provides CMake modules for common build tasks
+ in the ROCm software stack"""
homepage = "https://github.com/RadeonOpenCompute/rocm-cmake"
git = "https://github.com/RadeonOpenCompute/rocm-cmake.git"
@@ -35,11 +35,6 @@ class RocmCmake(CMakePackage):
version('3.5.0', sha256='5fc09e168879823160f5fdf4fd1ace2702d36545bf733e8005ed4ca18c3e910f', deprecated=True)
variant('build_type', default='Release', values=("Release", "Debug", "RelWithDebInfo"), description='CMake build type')
- variant('ldconfig', default=True, description='ROCm ldconfig')
depends_on('cmake@3:', type='build')
-
- def cmake_args(self):
- return [
- self.define_from_variant('ROCM_DISABLE_LDCONFIG', 'ldconfig')
- ]
+ depends_on('cmake@3.6:', type='build', when='@4.1.0:')