diff options
author | Cory Bloor <Cordell.Bloor@amd.com> | 2022-12-21 12:21:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 20:21:20 +0100 |
commit | e60e74694f4464c57c7637ce315f4b5a05492112 (patch) | |
tree | ef2f32d5dc85445928d18bd18f59493d22a850ed /lib | |
parent | 2ef026b8c69354ea738bc2340eaac9954734a5bb (diff) | |
download | spack-e60e74694f4464c57c7637ce315f4b5a05492112.tar.gz spack-e60e74694f4464c57c7637ce315f4b5a05492112.tar.bz2 spack-e60e74694f4464c57c7637ce315f4b5a05492112.tar.xz spack-e60e74694f4464c57c7637ce315f4b5a05492112.zip |
rocm: make amdgpu_target sticky (#34591)
The sticky property will prevent clingo from changing the amdgpu_target
to work around conflicts. This is the same behaviour as was adopted for
cuda_arch in 055c9d125d29606947f2fd88a06e279667a74648.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/rocm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/build_systems/rocm.py b/lib/spack/spack/build_systems/rocm.py index be525664dc..b8c45804a7 100644 --- a/lib/spack/spack/build_systems/rocm.py +++ b/lib/spack/spack/build_systems/rocm.py @@ -132,6 +132,7 @@ class ROCmPackage(PackageBase): "amdgpu_target", description="AMD GPU architecture", values=spack.variant.any_combination_of(*amdgpu_targets), + sticky=True, when="+rocm", ) |