diff --git a/lib/spack/spack/target.py b/lib/spack/spack/target.py index d911eb4a25..06e87dd10c 100644 --- a/lib/spack/spack/target.py +++ b/lib/spack/spack/target.py @@ -3,7 +3,6 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import functools -import warnings import archspec.cpu @@ -33,14 +32,6 @@ def _impl(self, other): return _impl -#: Translation table from archspec deprecated names -_DEPRECATED_ARCHSPEC_NAMES = { - "graviton": "cortex_a72", - "graviton2": "neoverse_n1", - "graviton3": "neoverse_v1", -} - - class Target(object): def __init__(self, name, module_name=None): """Target models microarchitectures and their compatibility. @@ -52,10 +43,6 @@ def __init__(self, name, module_name=None): like Cray (e.g. craype-compiler) """ if not isinstance(name, archspec.cpu.Microarchitecture): - if name in _DEPRECATED_ARCHSPEC_NAMES: - msg = "'target={}' is deprecated, use 'target={}' instead" - name, old_name = _DEPRECATED_ARCHSPEC_NAMES[name], name - warnings.warn(msg.format(old_name, name)) name = archspec.cpu.TARGETS.get(name, archspec.cpu.generic_microarchitecture(name)) self.microarchitecture = name self.module_name = module_name diff --git a/share/spack/gitlab/cloud_pipelines/stacks/aws-ahug-aarch64/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/aws-ahug-aarch64/spack.yaml index 800df31b92..bd0aa1170b 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/aws-ahug-aarch64/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/aws-ahug-aarch64/spack.yaml @@ -218,7 +218,7 @@ spack: - target: - 'target=aarch64' - - 'target=graviton2' + - 'target=neoverse_n1' specs: diff --git a/share/spack/gitlab/cloud_pipelines/stacks/aws-isc-aarch64/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/aws-isc-aarch64/spack.yaml index 6bc1cc4975..6c36b4e1f2 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/aws-isc-aarch64/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/aws-isc-aarch64/spack.yaml @@ -125,7 +125,7 @@ spack: - target: - 'target=aarch64' - - 'target=graviton2' + - 'target=neoverse_n1' specs: diff --git a/share/spack/gitlab/cloud_pipelines/stacks/radiuss-aws-aarch64/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/radiuss-aws-aarch64/spack.yaml index 273f6167a9..f5a12df7b2 100644 --- a/share/spack/gitlab/cloud_pipelines/stacks/radiuss-aws-aarch64/spack.yaml +++ b/share/spack/gitlab/cloud_pipelines/stacks/radiuss-aws-aarch64/spack.yaml @@ -43,7 +43,7 @@ spack: - target: - 'target=aarch64' - - 'target=graviton2' + - 'target=neoverse_n1' specs: